Difference between revisions of "Performance Problems"

373 bytes added ,  01:50, 10 November 2007
→‎CPU-Hungry Script Functions: Post with even more info
imported>Tibixe
(inventory functions faster with OBSE 0013 (beta))
imported>Haama
(→‎CPU-Hungry Script Functions: Post with even more info)
Line 27: Line 27:
# [[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]]
#*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]]
#**[http://www.bethsoft.com/bgsforums/index.php?s=&showtopic=772701&view=findpost&p=11209205 See this post for more information.] Basically, it's much faster now for inventories with only a few items in it, but still somewhat slow for larger inventories (50 GIOs per frame for 150 item inventory causes a drop of 1 FPS).--[[User:Haama|Haama]] 00:50, 10 November 2007 (EST)
# [[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.
Anonymous user