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

Comparing libev/ev.pod (file contents):
Revision 1.249 by root, Wed Jul 8 04:29:31 2009 UTC vs.
Revision 1.252 by root, Fri Jul 10 19:10:19 2009 UTC

3671defined to be C<0>, then they are not. 3671defined to be C<0>, then they are not.
3672 3672
3673=item EV_MINIMAL 3673=item EV_MINIMAL
3674 3674
3675If you need to shave off some kilobytes of code at the expense of some 3675If you need to shave off some kilobytes of code at the expense of some
3676speed, define this symbol to C<1>. Currently this is used to override some 3676speed (but with the full API), define this symbol to C<1>. Currently this
3677inlining decisions, saves roughly 30% code size on amd64. It also selects a 3677is used to override some inlining decisions, saves roughly 30% code size
3678much smaller 2-heap for timer management over the default 4-heap. 3678on amd64. It also selects a much smaller 2-heap for timer management over
3679the default 4-heap.
3680
3681You can save even more by disabling watcher types you do not need
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.
3679 3689
3680=item EV_PID_HASHSIZE 3690=item EV_PID_HASHSIZE
3681 3691
3682C<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
3683pid. 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