resolve once and reuse also use non checking version of get/set as index per definition must be ok This creates some speedup, but mostly avoids some weird hang in Thread::Queue.pop for many seconds