PDA

View Full Version : which is honestly faster? (c question)



johndavidjack
08-01-2005, 10:39 AM
standard c arrays or linked lists that act as arrays? i know that depending on your needs, the answer is either -- but what's ideal for a polygon class?

ZbuffeR
08-01-2005, 11:48 AM
linked lists are only useful if you frequently have to add/remove polygons. For rendering something static it is stupid.

Such high level formats may be useful when loading a model, then transform this as a plain array.