Revert "io.encodings: string>byte-array-fast can use (byte-array)."
This reverts commit f9881290cdb3238365f0bc5d126325236b4c2123.db4
parent
985faa7ec7
commit
72453cdc99
|
@ -42,7 +42,7 @@ CONSTANT: replacement-char 0xfffd
|
||||||
|
|
||||||
: string>byte-array-fast ( string -- byte-array )
|
: string>byte-array-fast ( string -- byte-array )
|
||||||
{ string } declare ! aux>> must be f
|
{ string } declare ! aux>> must be f
|
||||||
[ length ] keep over (byte-array) [
|
[ length ] keep over <byte-array> [
|
||||||
[
|
[
|
||||||
[ [ string-nth-fast ] 2keep drop ]
|
[ [ string-nth-fast ] 2keep drop ]
|
||||||
[ set-nth-unsafe ] bi*
|
[ set-nth-unsafe ] bi*
|
||||||
|
|
Loading…
Reference in New Issue