W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2012

sml schema regular expression performance

From: Armishev, Sergey <sarmishev@idirect.net>
Date: Tue, 11 Sep 2012 22:03:58 +0000
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <434022B42343C94187A29511DFDA554E16A29F0C@VAUS-MBX03.idirect.net>
Hi, XML schema experts.
I have question regarding Regular Expression performance. I received the opinion that XML schema using very inefficient engine.
Below is a statement. Is it TRUE or FALSE and WHY

when it comes to regex, XSD has one thing VERY WRONG:

anchoring regexes is NOT a way to make them perform better!

Ever heard of "first character optimization" in regex engines? Pretty much all engines _on earth_ have that nowadays. And they perform _worse_ when the regex is surrounded with .*.

End of citation.

What is your take on this?

Received on Friday, 14 September 2012 16:34:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:02 UTC