c# - Method call of 2 identical, newly created objects returns in different times -


i run test of murmurhash implementation .net. below code:

murmurhash3 m = new system.data.hashfunction.murmurhash3(32);             m.computehash(10); 

the first time executes takes 5 milliseconds while subsequent time takes 0 milliseconds (as expected).

according believe true, using new keyword in parameter-less constructor should return identical starting objects. happens during method call of first object doesn't happen in subsequent method call of object of same type?


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -