[Python-Dev] Problems with the new unicodectype.c
Thu, 6 Jul 2000 16:41:23 +0200
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
Thomas Wouters <firstname.lastname@example.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!