Simon Kissel wrote:
This isn't about FPC's code not scaling with N cores, it does. It is about it being slow as soon as threads are used *at all*,
N cores being near N times faster than "not using threads at all".
due to TLS stuff and exception handling. It's slow in a linear fashion, so to say...
You didn't answer any of my questions. The goal is to get the code faster, isn't it. Or are you writing an academic thesis on compilers ?
Regards, Adriaan van Os _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel