Aidan Kehoe writes:
Remove use of Eistring malloc buffers, have the corresponding
functions write to Lisp streams instead, as they were usually
ultimately doing anyway.
It's not obvious to me this is the right thing, when we know how big
the malloc buffers are, and they're "big". That is, big enough to
require the stream to realloc several times if we feed it characters
one at a time, where we could have malloc'd the Eistring just once,
and then done the stream realloc all at once.
On second though, if that's actually a problem, we can add a hint to
the stream functions that they can use when they request a
reallocation.
Is this just not a problem as far as you know? Are we actually saving
a lot of mallocs with your patch?
Steve