[PATCH] Marks all GetCurrent/MoveNext/GetEnumerator functions in classesh.inc as inline. Speed boost + it's what Delphi does.
Original Reporter info from Mantis: Akira1364
-
Reporter name:
Original Reporter info from Mantis: Akira1364
- Reporter name:
Description:
I had been noticing some discrepancies in enumerator-loop performance between Delphi Rio and FPC recently, and after some investigation boiled it down to the fact that Delphi currently (and has since probably Delphi 2009, I imagine) has all enumerator-related function in the Classes interface marked as inline.
I've attached a patch (that touches only classesh.inc as that is all that's needed) which adds those modifiers.
Mantis conversion info:
- Mantis ID: 35783
- OS: Windows
- OS Build: 10
- Build: Trunk
- Platform: x86_64
- Version: 3.3.1
- Monitored by: » Akira1364 (Akira1364)