[pcre-dev] [Bug 1040] Performance Improvement in UTF-8 mode

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1040] Performance Improvement in UTF-8 mode
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1040

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





--- Comment #4 from Philip Hazel <ph10@???> 2010-11-19 19:36:17 ---
I have committed a patch that is basically the same as yours, but I edited it
to be in my coding "style", and also I re-organized the pairs of macros so that
there is not so much repetition. Everything works, but on my system I do not
see as much improvement as you reported. On a very small test, matching a
longish string of 2-byte characters, I had no more than a 5% speed-up. This is
Linux, using gcc 4.4.4 but quite old Intel hardware.

Thanks for submitting the patch. Any speed-up is useful.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email