minor memory usage improvement
v0.1.2 changelog [ci skip]