In order not to perceive the slowdown so much, you would have to do it in "chunks" iterating manually through the list.
; do in loop for certain amount of time
t.typ = after t
update t
; update world or something -- do other game stuff, and then return to above
If you NEED to update all the types during each frame, you may be in trouble, and you may wish to re-visit your design. (You may wish to re-visit your design anyway...)
; do in loop for certain amount of time
t.typ = after t
update t
; update world or something -- do other game stuff, and then return to above
If you NEED to update all the types during each frame, you may be in trouble, and you may wish to re-visit your design. (You may wish to re-visit your design anyway...)