Download Game Physics
Transcript
Optimization techniques • Be linear – CPUs come with memory caches loaded when accessing data – Access continuous data in memory (e.g. traversing an array from begin to end) produces less cache misses • so less loading time • vectors are faster to traverse than lists Game Physics 40