1
$\begingroup$

All of the functions in How to create a progress bar?, the ProgressIndicator built-in and Monitoring lengthy computations estimate the completion time for implementation of operations that are indexed.

Is there a way to estimate the completion time for implementation of built-in functions in Mathematica? For instance, to estimate the time remaining for the function Counts[list]?

$\endgroup$
2
  • $\begingroup$ Counts[string] isn't valid - I presume you mean something like Counts[Characters["abcaa"]] or CharacterCounts["abcaa"]. There is no interface to EvaluationMonitor so I don't think it's possible. $\endgroup$
    – flinty
    Jul 7, 2020 at 12:21
  • $\begingroup$ If it takes a really long time, you might split it up so that each call to Count only deals with a part of the list. That way you'll know that you've processed, say, five out of ten parts. $\endgroup$
    – C. E.
    Jul 7, 2020 at 12:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.