[fpc-pascal] dynamic array contents and system.move

Bihar Anwar bihar_anwar at rocketmail.com
Wed May 5 10:53:31 CEST 2010


From: Aleksa Todorovic on May 5, 2010 3:13:12 PM


>As of copying/moving array elements, why don't you use
simple for loop 
for that?

Because of performance optimization. TStringlist.Delete() and TStringlist.InsertItem() itself uses Move() instead of such loop.



      



More information about the fpc-pascal mailing list