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