Patch. Micro-optimization of TList
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
-
Reporter name: Serge Anvarov
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
- Reporter name: Serge Anvarov
Description:
All methods that call TFPList without additional code are marked as inline.
TListEnumerator has the same signature, as TFPListEnumerator, so the base class is used instead of duplicating.
Method TFPList.Error is not virtual and does not use Self, so it is marked as static.
Mantis conversion info:
- Mantis ID: 36143
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 43155 (#c6d8bd73)
- Monitored by: » Vincent (Vincent Snijders)
- Target version: 3.2.0