(Pathinfo vs fnmatch part 2) Speed benchmark reversed on Windows and Mac
Posted
by zaf
on Stack Overflow
See other posts from Stack Overflow
or by zaf
Published on 2010-05-03T16:28:37Z
Indexed on
2010/05/03
17:48 UTC
Read the original article
Hit count: 266
On a previous question the pathinfo and fnmatch functions were benchmarked and the answers all came out opposite to my benchmark results.
You can read the different results with the benchmark code here: http://stackoverflow.com/questions/2693428/pathinfo-vs-fnmatch
I couldn't work it out until I ran the same code on a machine running vista. The results then matched the other users. My main machine is a mac.
So, my questions are:
- Why do we get these two different results?
- Could this apply to other functions?
© Stack Overflow or respective owner