diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-05-03 15:29:42 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-05-03 15:29:42 (GMT) |
commit | 937cfaf1a06a4a9d0c8ba119d7ce820878ff9058 (patch) | |
tree | f7b0b1bcce9ae963a0a069eafa552350eb4ee391 /libxml2/optim | |
parent | 4b8453f0303492a1de2dcf854555f6429fac550e (diff) | |
download | blt-937cfaf1a06a4a9d0c8ba119d7ce820878ff9058.zip blt-937cfaf1a06a4a9d0c8ba119d7ce820878ff9058.tar.gz blt-937cfaf1a06a4a9d0c8ba119d7ce820878ff9058.tar.bz2 |
inital commit
Diffstat (limited to 'libxml2/optim')
-rw-r--r-- | libxml2/optim/TOTRY | 23 | ||||
-rw-r--r-- | libxml2/optim/hash_dict.txt | 11 |
2 files changed, 34 insertions, 0 deletions
diff --git a/libxml2/optim/TOTRY b/libxml2/optim/TOTRY new file mode 100644 index 0000000..6e11f7e --- /dev/null +++ b/libxml2/optim/TOTRY @@ -0,0 +1,23 @@ +XML: +==== + - I/O avoid copies when parsing mmap'ed files, need to use + unmutable buffers except for the last 4K to make it 0 terminated + (or get rid of 0 termination check in the whole parser, hard !) + - recheck > 4Gb instances for parsing, and RNG validation. + + +XSLT: +===== + - global variable access + for each expr in stylesheet : allocate index + for each transformation context + create an index table + cache values in the transformation + - context evaluation + - cache + - constants at the XPAth level + - provide more info on compiled expressions + - dependances w.r.t. variables (which ones) + - dependancy on the current node + - dependancy on the current document + - do not use _private but other fields in the node structures. diff --git a/libxml2/optim/hash_dict.txt b/libxml2/optim/hash_dict.txt new file mode 100644 index 0000000..a447b7e --- /dev/null +++ b/libxml2/optim/hash_dict.txt @@ -0,0 +1,11 @@ +Reuses a dictionary for the hash table to reduce the string compare +costs. Not worth it unless validating big DTDs + + without with +db10000 tree 175/79 179/81 +db100000 stream 1222 1217 +dba100000stream 593 601 +REC validation 1986 2098 +Docbook valid 10808 10649 + +Tue Feb 24 19:09:49 CET 2004 |