Closed GoogleCodeExporter closed 9 years ago
What if you undefine "SCALE_INJECT_OFFSET" so it uses the normal TLS
determination?
Original comment by andre.mussche
on 8 Dec 2014 at 2:06
Hi Andre,
Compile without "SCALE_INJECT_OFFSET" doesn't help. See screenshot.
Best regards
Dirk
Original comment by dirk.car...@gmail.com
on 8 Dec 2014 at 2:19
Attachments:
And if you use the define "PURE_PASCAL"? (I have used 2 low level assembly
tricks to make it faster, pure_pascal should be the normal delphi way)
Original comment by andre.mussche
on 8 Dec 2014 at 2:33
Hi Andre,
yes with "PURE_PASCAL" defined the exception does not occour. Only few warnings
(see screenshot).
Does "PURE_PASCAL" makes the memory manager slower? I would use ScaleMM2
because it does scaler a lot better than FastMM4. But MS application verifier
should be fine also.. Any suggestions?
Best regards
Dirk
Original comment by dirk.car...@gmail.com
on 8 Dec 2014 at 2:45
Attachments:
for the warnings you can use/include the unit ScaleMM2 in smmSmallMemory.pas
too, then the compiler warning will go away.
Pure pascal is 2% slower (maybe more) in very tight loops, but you will
probably not detect it in normal situations.
Thanks for testing!
Original comment by andre.mussche
on 8 Dec 2014 at 2:57
Andre, thanks & best regards
Dirk
Original comment by dirk.car...@gmail.com
on 8 Dec 2014 at 3:06
Original issue reported on code.google.com by
dirk.car...@gmail.com
on 8 Dec 2014 at 9:08Attachments: