3 ms·
I can relate to that. I just spent 2 weeks going down a rabbit hole trying to optimize a recursive algorithm to be able to calculate some values quickly. I fin
by jjeaff 8y ago
I can relate to that. I just spent 2 weeks going down a rabbit hole trying to optimize a recursive algorithm to be able to calculate some values quickly.
I finally gave up and returned to the slow method but cached the results. Now we just warm the cache at night when usage is low.
Put it together in a day. Wish I had just gone this route from the beginning.
- copperx 8y agoThe term for that is memoization, for googling purposes.