]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "alien: these make "utf8 encode" 7-8% faster."
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 18 Jul 2012 14:56:05 +0000 (07:56 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 18 Jul 2012 14:56:05 +0000 (07:56 -0700)
This reverts commit c9664e746b0f4b51e5fde48284e01cc7c3243c76.

core/alien/alien.factor

index 6da68c197f36913bc8067e27690c64cba1759479..83c8fb41a6de3f4cbe217ca90fcc0f2f870cb9cc 100755 (executable)
@@ -22,10 +22,6 @@ GENERIC: byte-length ( obj -- n ) flushable
 
 M: object byte-length [ length ] [ element-size ] bi * ; inline
 
-M: byte-array byte-length length ; inline
-
-M: byte-vector byte-length length ; inline
-
 GENERIC: >c-ptr ( obj -- c-ptr ) flushable
 
 M: c-ptr >c-ptr ; inline