2 ms·
> It can use the length of the function to estimate how long it will take. Ah, yes, because a function that defines and then prints a 10,000 line string will t
by gavinray 2y ago
> It can use the length of the function to estimate how long it will take.
Ah, yes, because a function that defines and then prints a 10,000 line string will take x1,000 longer to run than a 10 line function which does matrix multiplication over several billion elements.
- high_na_euv 2y agoI think he meant how long it will take to optimize it It is naive eitherway
- Dylan16807 2y agoIt's naive but it's so so much better than letting a single small function run for 15 CPU seconds and deciding it's still not worth optimizing it yet because that was only 30 calls.