Mitchell N Charity wrote:

The attached patch adds a scheme where:
- gc flags are in the pool, and
- pmc->pool mapping is done with aligned pools and pmc pointer masking.

Observations:
- It's fast. (The _test_ is anyway.)

I did try it and some more in realiter.

Summary: its slower :-(
Calculating the flags position in the pool in pobject_lives() and free_unused_pobjects() takes more time then the smaller cache foot_print does gain. Two reasons: positions have to be calced twice and cache is more stressed with other things, IMHO.

There seems to be remaining only: smaller PMCs for scalars.

leo



Reply via email to