You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Striker <st...@apache.org> on 2002/04/15 21:03:08 UTC

Custom allocators, WAS: RE: svn commit: rev 1718 - trunk/subversion/libsvn_client

> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: 15 April 2002 20:15

[...]
> This is why I suspect we may still need per-file pools. Hmm... Maybe
> apply_textdelta really ought to take a working pool.
> 
> Or even more extreme: use a custom pool allocator to get around the 8k
> minimum used by the default allocator.

No can do.  The API isn't equipped for that.  Pools always use the same
(standard) allocator*.  The allocator was exported to allow other parts
of APR to benefit from them (bucket allocators).  Abstracting them for
pools would mean a severe performance penalty (and it would bring us
almost back at our sms design).

Sander

*) The code is even inlined for performance.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org