Difference between revisions of "Performance Problems"
Jump to navigation
Jump to search
inventory functions faster with OBSE 0013 (beta)
imported>Dev akm |
imported>Tibixe (inventory functions faster with OBSE 0013 (beta)) |
||
Line 26: | Line 26: | ||
# [[GetNumItems]] (OBSE) | # [[GetNumItems]] (OBSE) | ||
# [[GetInventoryObject]] (OBSE) | # [[GetInventoryObject]] (OBSE) | ||
#*Inventory functions became faster with OBSE 0013 (beta) (it uses an improved algorithm), see also [http://www.bethsoft.com/bgsforums/index.php?showtopic=772701&st=0 this thread]. [[User:Tibixe|Tibixe]] | |||
# [[GetFPS]] (OBSE) | # [[GetFPS]] (OBSE) | ||
#* However, you can run this every few frames without a drop. This is most useful as an alternative to '''GetSecondsPassed''' as ((Number of frames passed) / GetFPS) approximates the amount of time passed. | #* However, you can run this every few frames without a drop. This is most useful as an alternative to '''GetSecondsPassed''' as ((Number of frames passed) / GetFPS) approximates the amount of time passed. |