I see. this code was in place long time ago, It looks good from a code-review perspective, but I'll do some benchmarking to see if it has a perf impact.