[plt-scheme] open-output-string/bytes internals

From: YC (yinso.chen at gmail.com)
Date: Thu Jul 10 16:29:05 EDT 2008

Hi -

I'm wondering how `open-output-string` and `open-output-bytes` keep the data
written to the port.  Are the data kept in one single contiguous bytes that
gets resized as more bytes are written to it, or in a list of bytes that
gets concatenated later when calling `get-output-string/bytes`, or perhaps
some other methods?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080710/4d7dd832/attachment.html>

Posted on the users mailing list.