ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.250 by root, Thu Jul 9 09:11:20 2009 UTC vs.
Revision 1.252 by root, Fri Jul 10 19:10:19 2009 UTC

3676speed (but with the full API), define this symbol to C<1>. Currently this 3676speed (but with the full API), define this symbol to C<1>. Currently this
3677is used to override some inlining decisions, saves roughly 30% code size 3677is used to override some inlining decisions, saves roughly 30% code size
3678on amd64. It also selects a much smaller 2-heap for timer management over 3678on amd64. It also selects a much smaller 2-heap for timer management over
3679the default 4-heap. 3679the default 4-heap.
3680 3680
3681You can save even more by disabling watcher types you do not need and 3681You can save even more by disabling watcher types you do not need
3682setting C<EV_MAXPRI> == C<EV_MINPRI>. 3682and setting C<EV_MAXPRI> == C<EV_MINPRI>. Also, disabling C<assert>
3683(C<-DNDEBUG>) will usually reduce code size a lot.
3684
3685Defining C<EV_MINIMAL> to C<2> will additionally reduce the core API to
3686provide a bare-bones event library. See C<ev.h> for details on what parts
3687of the API are still available, and do not complain if this subset changes
3688over time.
3683 3689
3684=item EV_PID_HASHSIZE 3690=item EV_PID_HASHSIZE
3685 3691
3686C<ev_child> watchers use a small hash table to distribute workload by 3692C<ev_child> watchers use a small hash table to distribute workload by
3687pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more 3693pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines