REF: make Resolution an enum
I find this much clearer than just using an int.  No measured performance impact.
lgtm if you can run some basic perf would be great > if you can run some basic perf would be great

mentioned in the OP, asv didnt show measurable change
