Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1856 by [email protected]: csslexer.js optimization
http://code.google.com/p/google-caja/issues/detail?id=1856

Hello caja devs,

I borrowed your CSS parser for something, and I noticed that lexCss() spends most of its time in decodeCss(), creating many identical RegExp objects.

This patch makes it go 3.5 times faster :)


Attachments:
        csslexer.patch  1.2 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to