4 ms·
Well, it's half memoization, and half knowing that you can split the work into smaller parts, which allows you to take advantage of the memoization. Just addin
by kbenson 10y ago
Well, it's half memoization, and half knowing that you can split the work into smaller parts, which allows you to take advantage of the memoization.
Just adding memoization to date and time parsing gets you very little when there's little duplication of the inputs, and without the breaking apart of the data could very likely have yielded worse performance.