… | |
… | |
2524 | automatic timer adjustments even when no monotonic clock is available, |
2524 | automatic timer adjustments even when no monotonic clock is available, |
2525 | can take avdantage of advanced kernel interfaces such as C<epoll> and |
2525 | can take avdantage of advanced kernel interfaces such as C<epoll> and |
2526 | C<kqueue>, and is the fastest backend I<by far>. You can even embed |
2526 | C<kqueue>, and is the fastest backend I<by far>. You can even embed |
2527 | L<Glib>/L<Gtk2> in it (or vice versa, see L<EV::Glib> and L<Glib::EV>). |
2527 | L<Glib>/L<Gtk2> in it (or vice versa, see L<EV::Glib> and L<Glib::EV>). |
2528 | |
2528 | |
|
|
2529 | If you only use backends that rely on another event loop (e.g. C<Tk>), |
|
|
2530 | then this module will do nothing for you. |
|
|
2531 | |
2529 | =item L<Guard> |
2532 | =item L<Guard> |
2530 | |
2533 | |
2531 | The guard module, when used, will be used to implement |
2534 | The guard module, when used, will be used to implement |
2532 | C<AnyEvent::Util::guard>. This speeds up guards considerably (and uses a |
2535 | C<AnyEvent::Util::guard>. This speeds up guards considerably (and uses a |
2533 | lot less memory), but otherwise doesn't affect guard operation much. It is |
2536 | lot less memory), but otherwise doesn't affect guard operation much. It is |
2534 | purely used for performance. |
2537 | purely used for performance. |
2535 | |
2538 | |
2536 | =item L<JSON> and L<JSON::XS> |
2539 | =item L<JSON> and L<JSON::XS> |
2537 | |
2540 | |
2538 | One of these modules is required when you want to read or write JSON data |
2541 | One of these modules is required when you want to read or write JSON data |
2539 | via L<AnyEvent::Handle>. It is also written in pure-perl, but can take |
2542 | via L<AnyEvent::Handle>. L<JSON> is also written in pure-perl, but can take |
2540 | advantage of the ultra-high-speed L<JSON::XS> module when it is installed. |
2543 | advantage of the ultra-high-speed L<JSON::XS> module when it is installed. |
2541 | |
|
|
2542 | In fact, L<AnyEvent::Handle> will use L<JSON::XS> by default if it is |
|
|
2543 | installed. |
|
|
2544 | |
2544 | |
2545 | =item L<Net::SSLeay> |
2545 | =item L<Net::SSLeay> |
2546 | |
2546 | |
2547 | Implementing TLS/SSL in Perl is certainly interesting, but not very |
2547 | Implementing TLS/SSL in Perl is certainly interesting, but not very |
2548 | worthwhile: If this module is installed, then L<AnyEvent::Handle> (with |
2548 | worthwhile: If this module is installed, then L<AnyEvent::Handle> (with |