nit: rename `origchar` -> 'charsCacheKey` (or similar) -- no need for comment in this case