4 ms·
I'm not the author but I'd guess almost nothing. Basically you just need to calculate the result of the function and index it by the result, should be almost co
by coltonv 10y ago
I'm not the author but I'd guess almost nothing. Basically you just need to calculate the result of the function and index it by the result, should be almost completely unnoticeable.
- zerd 10y agoUnless it's a table with high write load. You're basically shifting the expensive part from read time to write time.