mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Commit optimization document.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@222 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
50e9784677
commit
df52406a88
11
docs/optimization.txt
Normal file
11
docs/optimization.txt
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
Optimization
|
||||
|
||||
Here are some possible optimization techniques we can apply to code sections if
|
||||
they turn out to be slow. Be sure not to prematurely optimize though!
|
||||
|
||||
- Make Tokens Flyweights
|
||||
- Rewrite regexps into PHP code
|
||||
- Serialize the Definition object
|
||||
- Batch regexp validation (do as many per function call as possible)
|
||||
- Parallelize strategies
|
Loading…
Reference in New Issue
Block a user