type e linked lists!!!

Blitz3D Forums/Blitz3D Beginners Area/type e linked lists!!!

The lib itself is fast, I doubt you'll have any problems using it. I did use this lib with a single surface particle system I wrote. Although, I modified it for one user Type which means I then don't use Handle and Object. Handle and Object are not the fastest of commands, for what reason I don't know. But, don't get me wrong, they are still fast. How many items do you plan to go through?

which linked list lib are you refering to?

If all you're looking for is speed then the fastest solution is to use 2 types and then use for each, like so.

type tGood
	field Name$
end type

type tBad
	field Name$
end type

good.tGood = new tGood
...

bad.tBad = new tBad
...


for good.tGood = each tGood
	print good\name
next

for bad.tBad = each tBad
	print bad\name
next

this would be the fastest, faster than arrays, but it can get very confusing and messy since could have very many Types all over the place.