Abdelrazak Younes wrote:
You misunderstood me. I don't deny you are right these are probably too expensive. I am just saying that I am not convinced that this is the major culprit for the slowness on Mac and on Windows for LyX file with a lot of big equation. But hey, every bit of speed we can gain is good :-)
Try to make a test program that does nothing but allocate small pieces of memory, fill it up, and then free it again.
Before you run it, guess how many allocations you can do in a second. Then run it and learn. Regards, Asger