Re: Stdio.Buffer, need a way to revisit old positions in the output
"Per Hedbor () @ Pike (-) importm?te f?r mailinglistan" <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
> However, given the premises that Stdio.Buffer was/is for speed, > then any solution that involves creating another object for this seems > a bit wasteful. I.e. those are a lot of memory accesses (for creating > the new object) whereas we only want a simple "pointer access" to past > data. The "pointers" would also be objects, since they need to support the offsets changing when data is added to or read from the buffer. -- Stephen.