Add more benchmarks
Perf optimizations

These changes yield ~30-40% improvement for filterNodes on my system and
over 100% improvement on addDelNodes.
Prep v0.5.10 release
Cleanup some dead code