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 the loop is fast, tick() function is adding lots of overhead!
library(progress)
pb = progress_bar$new(total=100000)
system.time({for(i in 1:100000){pb$tick()}})
user system elapsed
10.394 0.010 10.448
Therefore, this package is not very useful when the loop contains inexpensive operation. Please a faster path for these scenarios or warn users when the total is a big number.
The text was updated successfully, but these errors were encountered:
If the loop is fast, tick() function is adding lots of overhead!
Therefore, this package is not very useful when the loop contains inexpensive operation. Please a faster path for these scenarios or warn users when the total is a big number.
The text was updated successfully, but these errors were encountered: