optimization filterTags
optimization. local buffer
Merge pull request #1 from QiXi/master

optimizations