SFML community forums
Help => System => Topic started by: xanderxylona on April 18, 2019, 05:48:31 pm
-
How fast is sf::Clock::restart()? That is to say, what is O(n) where n is the amount of times restart() is called? I am predisposed to assume that all ∆ time incurrence is linearithmic, but I'm not sure this is true for SFML.
-
Are you sure you understand what Big O notation means?
Instead of using random technical terms, maybe just ask the question you're trying to solve. :D
When n is the amount of times you call restart() then you don't have to look at SFML's code, but your own to figure out how often you do call restart(). ;)