Nala Ginrut <nalagin...@gmail.com> writes: > Do you have any advice to optimize it without disable GC temperaly?
Temporarily disabling the GC would merely postpone reclamation work that needs to be done eventually, and at the risk of allocating a potentially huge amount of garbage while the GC is disabled, in the worst case. Sounds like a bad idea to me. If I knew how to make our 'map' faster, I would do it. Andy rewrote the versions of 'map' in boot-9 and srfi-1 to take advantage of the expanding stacks, and he seems quite skilled at writing efficient code. I have no reason to think I could do better, and no spare time to make the attempt. > Or the only way is to change a better GC? I don't know how to make Boehm GC faster without making it more difficult to write C code that manipulates heap objects, and without adding more restrictions on the use of existing C libraries. Mark