1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en"><head>
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" />
6 <meta name=
"description" content=
"Discusses possible methods of optimizing HTML Purifier." />
7 <link rel=
"stylesheet" type=
"text/css" href=
"./style.css" />
9 <title>Optimization - HTML Purifier
</title>
15 <div id=
"filing">Filed under Development
</div>
16 <div id=
"index">Return to the
<a href=
"index.html">index
</a>.
</div>
17 <div id=
"home"><a href=
"http://hp.jpsband.org/">HTML Purifier
</a> End-User Documentation
</div>
19 <p>Here are some possible optimization techniques we can apply to code sections if
20 they turn out to be slow. Be sure not to prematurely optimize: if you get
21 that itch, put it here!
</p>
24 <li>Make Tokens Flyweights (may prove problematic, probably not worth it)
</li>
25 <li>Rewrite regexps into PHP code
</li>
26 <li>Serialize the Definition object
</li>
27 <li>Batch regexp validation (do as many per function call as possible)
</li>
28 <li>Parallelize strategies
</li>
31 <div id=
"version">$Id$
</div>