blog: win32 string comparison performance

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

blog: win32 string comparison performance

Post by nikos »

here's the comment area for today's blog post found at
https://www.zabkat.com/blog/case-conversion-timing.htm
otlaolap
Silver Member
Silver Member
Posts: 236
Joined: 2007 Aug 11, 21:37

Re: blog: win32 string comparison performance

Post by otlaolap »

Naturally xplorer² isn't doing string comparisons all the time, never mind half a million of them in a row, so here's another instance of striving for excellence, saving the last drop of CPU power, which turns out to be not really important, as we have seen time and again in this blog series...
and in my real life
Tuxman
Platinum Member
Platinum Member
Posts: 1610
Joined: 2009 Aug 19, 07:49

Re: blog: win32 string comparison performance

Post by Tuxman »

Unsurprisingly, low-level API functions are more efficient than abstractions.
Tux. ; tuxproject.de
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
User avatar
johngalt
Gold Member
Gold Member
Posts: 559
Joined: 2008 Feb 10, 19:41
Location: 3rd Rock
Contact:

Re: blog: win32 string comparison performance

Post by johngalt »

I also find it interesting that the first method worsens on 64 bit architecture while the second method improves.
Image

Image
User avatar
nikos
Site Admin
Site Admin
Posts: 15771
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: blog: win32 string comparison performance

Post by nikos »

that is probably within the limit of clock accuracy, probably it's the same in both 32/64 bits
Post Reply