Re: Routine for organising [ad-hoc] data, splice_sort()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Sorry to post again on this but I felt it useful to point out that this is
another of those "sort by nth element" routines discussed earlier, and I've
just realised that it doesn't really have an advantage over custom_sort or
the method Graeme described on the 14th. In fact, I would guess Graeme's
modified sort() would be considerably faster. I did benchmark against
custom_sort and it was slightly faster (not as convenient though), even
after doing the obvious optimisations (which didn't suit my original use).



Regards,
Aidan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu