[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Pools space-time tradeoff

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-05-22 21:33:37 CEST

Btw, when I wrote this

> - When palloc() requests some mem, see if there's any block with
> enough unused room to handle it. If so, allocate in that block.

... I didn't specify whether one should use the block with the
smallest free space that still satisfies the request, or the largest,
or some other algorithm. Frankly I'm not sure how fragmentation plays
out in real life :-). My instinct would be take the smallest and just
live with the little bits of unused memory, but maybe in practice it
turns out to be better to take the largest, so one still has a
significant amount left over in that block even after the allocation?

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 22 21:36:05 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.