[Mono-dev] Should we replace MemoryStream?
fejj at novell.com
Mon Nov 9 13:38:38 EST 2009
Miguel de Icaza wrote:
> Hello folks,
> I just blogged about a memory fragmentation issue here:
> And I am wondering: since MemoryStream is one of these sources of
> problems, we could replace this implementation with MindTouch's
I'm really liking the idea of a chunked stream like this. Even once sgen
is complete and deployed, a chunked stream will still be more efficient
- not just in avoiding fragmentation, but also because reallocating a
new, larger buffer, has overhead associated with copying the content
whereas allocating a new chunk is a cheaper operation.
More information about the Mono-devel-list