Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-06

TFPObjectList patch

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ales Katona

This patch adds TFPObjectList to contnrs.
It's a descendent of TFPList and uses same tricks to gain speed.(inline etc.)
I've tested with bubblesort and it was 1/3 faster.

P.S: I wanted to get rid of inherited calls too but FCount is private in TFPList ;(

Ales

Reply by email

Michael Van Canneyt
to Ales Katona
Ales Katona wrote 6 lines
This patch adds TFPObjectList to contnrs. It's a descendent of TFPList and uses same tricks to gain speed.(inline etc.) I've tested with bubblesort and it was 1/3 faster. P.S: I wanted to get rid of inherited calls too but FCount is private in TFPList ;(

Applied the patch; Thank you for this implementation.

Michael.

Reply by email