You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand you right, you're looking for something that takes in a function, and returns a new function with the same inputs as the original function, but calling it would return a pair consisting of the original result, as well as the elapsed time? I'm not sure that belongs in the library itself, but it should be something pretty straightforward to make.
It would be nice to have a utility function that tracks execution time of a given closure or function.
The text was updated successfully, but these errors were encountered: