[Patch] Regex bracket matcher cache optimization

Paolo Carlini paolo.carlini@oracle.com
Sat Jan 4 09:25:00 GMT 2014


Hi,

On 01/04/2014 03:35 AM, Tim Shen wrote:
> The data structure _BracketMatcher (storing regex like [123a-z]) could
> be quite slow mainly because of regex_traits. So a result of cache for
> small range of inputs (char) sounds reasonable. It iterates all 256
> inputs and calculate them at regex compile time.
Good. Could we actually measure something in the performance testsuite?

Thanks,
Paolo.



More information about the Libstdc++ mailing list