ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.2k stars 142 forks source link

Avoid needless allocation in read-bytevector! #950

Closed wasamasa closed 4 months ago

wasamasa commented 4 months ago

This change switches the implementation strategy to basing read-bytevector on top of read-bytevector! rather than the other way around. Bonus: It's a bit less code than previously and is less surprising to the reader.