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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -