Martin Buchholz <martin(a)xemacs.org> writes:
Hrvoje> Why? If lstreams are properly managed in frob blocks,
Hrvoje> shouldn't their "allocation" and "deallocation" be a
very
Hrvoje> cheap operation?
It's not so much that deallocation isn't cheap, but that
garbage-collection needs to search all of memory. So Lisp
allocation (``consing'') of any kind is expensive, and the more lisp
objects you have, the more expensive the next gc becomes.
Well yes, but if you are dilligent about deleting your lstreams, a
long-running XEmacs should end up not having too large a count of
lstream frob-blocks.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Ooh, Granny, what a BIG belly-button you have!