io.streams: make stream-element-type inline on string-reader and byte-reader.

db4
John Benediktsson 2013-12-02 17:44:03 -08:00
parent 4f2cdd070c
commit 1acf307e15
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ IN: io.streams.string
TUPLE: string-reader { underlying string read-only } { i array-capacity } ;
INSTANCE: string-reader input-stream
M: string-reader stream-element-type drop +character+ ;
M: string-reader stream-element-type drop +character+ ; inline
M: string-reader stream-read-unsafe sequence-read-unsafe ;
M: string-reader stream-read1 sequence-read1 ;
M: string-reader stream-read-until sequence-read-until ;

View File

@ -18,7 +18,7 @@ M: byte-vector stream-element-type drop +byte+ ;
TUPLE: byte-reader { underlying byte-array read-only } { i array-capacity } ;
INSTANCE: byte-reader input-stream
M: byte-reader stream-element-type drop +byte+ ;
M: byte-reader stream-element-type drop +byte+ ; inline
M: byte-reader stream-read-unsafe sequence-read-unsafe ;
M: byte-reader stream-read1 sequence-read1 ;