davidsen@steinmetz.ge.com (William E. Davidsen Jr) (08/31/88)
I ran into an interesting problem the other day. I compiled microemacs on an old (2.1.3) system, and then linked it with the malloc library (-lmalloc). The new executable cut the startup time to about 30% of the original. Then I decided to try the same thing with MUSH. I keep mush on a 386 machine and cross compile, so I went there and started the compile. When the link started there was no large model malloc library. The other models (Slibmalloc, etc) are there. The new 6.3 version seems to run faster than the 6.2 which was linked without -lmalloc. Question: is this library just "left out," or is the malloc use by default in 2.2.2 286 compiles, or what? Having to run on an underpowered box at work, I try to do anything I can to make it faster. I would strongly advise using the malloc library for things that play with memory a lot, as it seems to help both the real time and the system CPU time, although the real time goes down a LOT more than the system time, so it's not just saving the systems calls. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me