[Webkit-unassigned] [Bug 37743] Remove dependency of jsCurrentTime() on currentTime()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 18:29:09 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37743





--- Comment #7 from Dmitry Titov <dimich at chromium.org>  2010-04-19 18:29:08 PST ---
(In reply to comment #6)
> 
> It seems the better alternative would be to have a notion of time intervals
> rather then absolute time for things like animations etc. Something like a
> stopwatch. Then there is no question of what kind of time it is or whether or
> not it changes based on user changing the time in the system. Something like:
> 
> Stopwatch stopwatch;
> stopwatch.start();  // starts ticking at 0
> ...

Never mind, it actually could make things like sorting Timers slower and make
it difficult to synchronize multiple intervals. Having absolute timer makes a
lot of things simpler. Sorry for noise. Perhaps a good name for 'monotonic
time' function is all what's needed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list