On Friday 13 August 2010 at 15:31, Parrot  wrote:

>  If all blocks except the top block are almost full, compacting isn't
>  needed. The attached patch makes compact_pool return early in this case.
> 
>  Also, pad_pool_size currently includes pools that are almost full. This
>  means that more memory is allocated than needed. It isn't a big problem
>  because most of the time the memory will be used sooner or later, but it's
>  cleaner to account for the almost full blocks here.
> 
>  Plus a micro optimization in is_block_almost_full.

The patch seems to do good things for me with Rakudo.  The startup improvement 
is small, but I can measure its positive effects.

-- c 
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to