[fpc-pascal] Elegant way to switch sort mechanism in TSortedCollection?

Jim Leonard trixter at oldskool.org
Thu Mar 13 22:26:15 CET 2014


On 3/13/2014 3:49 PM, Frederic Da Vitoria wrote:
> You are sorting only for display purposes?

No, re-sorting is part of the algorithm, which sorts a list of graphics 
elements and then inserts/splits/deletes the collection entries, and 
then repeats this process.  The sort method can change each iteration 
depending on the number and status of the entries.
-- 
Jim Leonard (trixter at oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magic bag!



More information about the fpc-pascal mailing list