l1183479157 / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

Antisamy is slow and uses lots of resources when validating large numbers of small strings #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Parser construction is unreaszonably expensive when validating small strings.

Attached patch more or less doubles the speed of antisamy when validating  1000 
small strings. Please use testcase in previous issue if you need to validate 
this claim

Original issue reported on code.google.com by kristian...@gmail.com on 23 Jan 2013 at 7:53

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in b58d3abbd9033fa5e11ad0c044cd4dd3f40b4216

Original comment by kristian...@gmail.com on 24 Jan 2013 at 7:32