Difference between revisions of "Performance Problems"
Jump to navigation
Jump to search
Link to thread about GetDistance.
imported>Wrye m (Remove top level header.) |
imported>Gabba (Link to thread about GetDistance.) |
||
Line 33: | Line 33: | ||
#* I have tested the others above, but not this one. However, I have seen it mentioned several times that GetDistance is a CPU heavy function, so I'm including it here. | #* I have tested the others above, but not this one. However, I have seen it mentioned several times that GetDistance is a CPU heavy function, so I'm including it here. | ||
#*--[[User:Haama|Haama]] 17:54, 10 September 2007 (EDT) | #*--[[User:Haama|Haama]] 17:54, 10 September 2007 (EDT) | ||
#* [http://forums.bethsoft.com/index.php?/topic/1145441-does-getdistance-called-every-frame-hurt-frame-rate-or-not Discussion about GetDistance] that seems to imply the function is not so CPU-hungry. | |||
Note that for all of these, they are incredibly fast functions. Even the slowest, GetInventoryObject, can be run 1000 times and the next frame will come up in less than a second. They will only cause problems if run them constantly (every frame or so). | Note that for all of these, they are incredibly fast functions. Even the slowest, GetInventoryObject, can be run 1000 times and the next frame will come up in less than a second. They will only cause problems if run them constantly (every frame or so). |