attempt to fix bug with caching pointers
Added comment explaining the profiling that justifies sketchy fix