some gemf reader perf optimizations