Why are there so few "return" functions with SA:MP?
#10

Quote:
Originally Posted by JoBullet
View Post
Note about measuring things: I bet you forgot to measure cache misses/hits, context switches, privilege switches etc., it's good idea to measure timings of e.g. two different ini systems or similar, but bad to measure things like you measured @AndreT.
Something makes me think that the variables you mentioned aren't very relevant when the difference between two methods is a couple hundred milliseconds per 1000000 calls. It gives you a hint that something is being done differently. And you're right about the necessity of such tests, but I don't see anything bad about it if one has a lot of free time on their hands and a need to explore how something works. Got to admit, after taking a job in the field, I wouldn't do such measurements again.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)