diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-07 20:16:32 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-07 21:14:38 -0700 |
commit | 80d6f5a7d0e1e60b928573d783192186613a42a8 (patch) | |
tree | 84eb0e669c54ea4f9cd7776749f5208b621cd0df /scripts/pugixml_codeblocks.cbp | |
parent | 43622107d745a198cf7bffa43acc7bbb190dccfd (diff) |
Rework compact_pointer implementation
Split the implementation into a generic one with adjustable range and a
special implementation for parent (may need to use 2 bytes on that one
later).
Optimize compact_string and compact_pointer to use minimal amount of math
and move slow hash paths into no-inline functions so that compiler can
inline the fast-paths.
Merge compact_pointer_generic and compact_pointer_forward and optimize.
Diffstat (limited to 'scripts/pugixml_codeblocks.cbp')
0 files changed, 0 insertions, 0 deletions