[fpc-pascal] TSortedCollection dupes ordering
Jim Leonard
trixter at oldskool.org
Thu Feb 6 19:47:21 CET 2014
On 2/6/2014 11:04 AM, waldo kitty wrote:
> ahh... i see what you are doing... you are passing the pointer to the
> whole record instead of just the needed key... hummm... i'll have to
> think about that and how to do it in my app... right now i'm only
> passing the necessary key because the record is 'large'... but then
> again... some thought and meditation is necessary ;)
Not much thought required -- a pointer to the record is 4 bytes, no
matter how large the record is. In fact, it's probably faster than what
you're doing, and more flexible.
--
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