All of this looping was happening in another tight loop, and there were multiple LUTs.
It was a failure with overall decreased performance and increased cache misses. Plus, I could never get the same precision.
A problem I imagine on modern processors is the cache might be shared amongst several cores and interrupts etc.
Back in the nineties, 3DFX made a speed of light rendering demo for the Voodoo1 where they took over the entire machine and through intimate knowledge of cache behaviour effectively set aside an area in the L1 cache that would contain some data they could stream in and speed up their triangle setup.
AMD Zen platforms have always put that functionality (ironically) in the secret platform security coprocessor.