Sorting a Linked List? Help please!

Blitz3D Forums/Blitz3D Programming/Sorting a Linked List? Help please!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@octothorpe:
Since the particles are CONSTANTLY being re-arranged (its very random), I will have to resort the list every time, however I can get away with doing it once every 60 frames without anyone noticing.

@big10p:
Those are some great suggestions! I didn't even think about the sqrt thing and the fact that since everything is relative that I dont really need it to be sqrt'ed and just use the base formula for the comparrison. Excellet, that will same me some speed most definately!