Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

dev-optimization.html 1.2KB

123456789101112131415161718192021222324252627282930313233
  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" />
  8. <title>Optimization - HTML Purifier</title>
  9. </head><body>
  10. <h1>Optimization</h1>
  11. <div id="filing">Filed under Development</div>
  12. <div id="index">Return to the <a href="index.html">index</a>.</div>
  13. <div id="home"><a href="http://htmlpurifier.org/">HTML Purifier</a> End-User Documentation</div>
  14. <p>Here are some possible optimization techniques we can apply to code sections if
  15. they turn out to be slow. Be sure not to prematurely optimize: if you get
  16. that itch, put it here!</p>
  17. <ul>
  18. <li>Make Tokens Flyweights (may prove problematic, probably not worth it)</li>
  19. <li>Rewrite regexps into PHP code</li>
  20. <li>Batch regexp validation (do as many per function call as possible)</li>
  21. <li>Parallelize strategies</li>
  22. </ul>
  23. </body></html>
  24. <!-- vim: et sw=4 sts=4
  25. -->