Greetings! The docs indicate that GMP memory allocation functions might be profitably integrated with garbage collectors for efficiency purposes. Is there a known example of gains achieved in this area?
I have attempted several ideas in GCL centered around caching to-be-freed integers during garbage collection sweep for subsequent use in the allocator. The gc overhead might be worth it, but for the additional cost that the allocator will allocate anyway if the cached integer is too small, which is not rare in practice when simply using the cache in a fifo manner. Sorting and indexing by size is way too expensive. Take care, -- Camm Maguire c...@maguirefamily.org ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel