Closed arnetheduck closed 8 months ago
newString is used throughout to initialize pages, zero-filling memory unnecessarily - newSeqUninitialized[byte] would be an option, but one has to be careful around setLen which also does zero-filling
newString
newSeqUninitialized[byte]
setLen
https://github.com/status-im/nim-faststreams/pull/50
newString
is used throughout to initialize pages, zero-filling memory unnecessarily -newSeqUninitialized[byte]
would be an option, but one has to be careful aroundsetLen
which also does zero-filling