On Thu, Jul 06, 2000 at 10:33:23AM -0400, Fred L. Drake, Jr. wrote: > Fredrik Lundh writes: > > Just noticed that _sre.c takes ages to compile on my linux > > box, and comes out as a 450k object module. > > it's under 30k on Windows. > Wow! Maybe try turning off optimizations? I think there's an > option to just turn off inlining, bt I don't know if you can limit the > number of recursive inlines. A simpler option: surround the "inline" > directive with #ifndef __GNUC__ / #endif. gcc tries to inline functions itself, too, depending on optimization level, and it might be that the heuristics to determine wether it's worth it or not are broken. You can use -fno-inline to see if that's the case. But it might even be that gcc is right, that the larger code is faster, in spite of being larger. -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4