ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Impl/Glib.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Impl/Glib.pm (file contents):
Revision 1.12 by root, Wed Apr 16 14:39:00 2008 UTC vs.
Revision 1.13 by root, Sat Apr 19 03:47:24 2008 UTC

15do anything to make Glib work with AnyEvent except by loading Glib before 15do anything to make Glib work with AnyEvent except by loading Glib before
16creating the first AnyEvent watcher. 16creating the first AnyEvent watcher.
17 17
18Glib is probably the most inefficient event loop that has ever seen the 18Glib is probably the most inefficient event loop that has ever seen the
19light of the world: Glib not only scans all its watchers (really, ALL 19light of the world: Glib not only scans all its watchers (really, ALL
20of them, wether I/O-related, timer-related or not) during each loop 20of them, whether I/O-related, timer-related or not) during each loop
21iteration, it also does so multiple times and rebuilds the poll list for 21iteration, it also does so multiple times and rebuilds the poll list for
22the kernel each time again, dynamically even. 22the kernel each time again, dynamically even.
23 23
24If you create many watchers (as in: more than two), you might consider one 24If you create many watchers (as in: more than two), you might consider one
25of the L<Glib::EV>, L<EV::Glib> or L<Glib::Event> modules that map Glib to 25of the L<Glib::EV>, L<EV::Glib> or L<Glib::Event> modules that map Glib to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines