A Crazy Thought about CallContext Recycling and Caching

Vasily Chekalkin bacek at bacek.com
Mon Jan 4 22:34:43 UTC 2010


chromatic wrote:
> We'd have to detect when it's safe to recycle a CallContext, but we *could* 
> hijack its destroy(), let the GC capture a few, and then store them in the 
> cache by size and avoid subsequent GC runs.

It reminds me pre-PMC version of Parrot_Contexts... It's really hard to 
make it correct.

-- 
Bacek


More information about the parrot-dev mailing list