status-im / nim-faststreams

Nearly zero-overhead input/output streams for Nim
Apache License 2.0
125 stars 11 forks source link

fix multiple reads in same scope #46

Closed tersec closed 1 year ago

tersec commented 1 year ago

This effectively inlines the useHeapMem and useStackMem pseudo-closure-templates into readNImpl.