1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00
amp/lib/Loop
Aaron Piotrowski c6f8425473
Use a custom priority queue for timers
Fixes #220 by allowing immediate removal of the watcher from the queue. Insert and extract is O(log(n)), peeking is O(1), and removal is O(n).
2019-01-24 13:09:11 -06:00
..
Internal Use a custom priority queue for timers 2019-01-24 13:09:11 -06:00
Driver.php Add Loop::now() 2018-11-26 21:59:15 +01:00
DriverFactory.php Apply PSR-2 2018-06-18 20:00:01 +02:00
EvDriver.php Implement monotonic timer using PHP 7.3's hrtime() 2018-12-10 20:07:11 +01:00
EventDriver.php Implement monotonic timer using PHP 7.3's hrtime() 2018-12-10 20:07:11 +01:00
InvalidWatcherError.php Apply PSR-2 2018-06-18 20:00:01 +02:00
NativeDriver.php Use a custom priority queue for timers 2019-01-24 13:09:11 -06:00
UnsupportedFeatureException.php Apply PSR-2 2018-06-18 20:00:01 +02:00
UvDriver.php Add Loop::now() 2018-11-26 21:59:15 +01:00
Watcher.php Apply PSR-2 2018-06-18 20:00:01 +02:00