efficient heap-manager complicated churn, little allocs?
i'm looking ideas heap-manager hoop unequivocally specific situation: lots lots unequivocally little allocations, trimming 12 64 bytes each. anything bigger, i pass unchanging heap-manager, wholly little blocks need catered for. wholly 4-byte fixing needed.
my sure concerns are
- overhead. unchanging libc store typically spin adult an allocation churned 16 bytes, following supplement another 16 byte header - means over 50% over 20-byte allocation, sucks.
- performance
one useful aspect lua (which user heap) tell distance retard it's atonement calls free() - competence assent certain optimisations.
i'll post tide approach, works ok, nonetheless i'd provoke during possible. any ideas?
Comments
Post a Comment