… | |
… | |
3671 | defined to be C<0>, then they are not. |
3671 | defined to be C<0>, then they are not. |
3672 | |
3672 | |
3673 | =item EV_MINIMAL |
3673 | =item EV_MINIMAL |
3674 | |
3674 | |
3675 | If you need to shave off some kilobytes of code at the expense of some |
3675 | If you need to shave off some kilobytes of code at the expense of some |
3676 | speed, define this symbol to C<1>. Currently this is used to override some |
3676 | speed (but with the full API), define this symbol to C<1>. Currently this |
3677 | inlining decisions, saves roughly 30% code size on amd64. It also selects a |
3677 | is used to override some inlining decisions, saves roughly 30% code size |
3678 | much smaller 2-heap for timer management over the default 4-heap. |
3678 | on amd64. It also selects a much smaller 2-heap for timer management over |
|
|
3679 | the default 4-heap. |
|
|
3680 | |
|
|
3681 | You can save even more by disabling watcher types you do not need and |
|
|
3682 | setting C<EV_MAXPRI> == C<EV_MINPRI>. |
3679 | |
3683 | |
3680 | =item EV_PID_HASHSIZE |
3684 | =item EV_PID_HASHSIZE |
3681 | |
3685 | |
3682 | C<ev_child> watchers use a small hash table to distribute workload by |
3686 | C<ev_child> watchers use a small hash table to distribute workload by |
3683 | pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more |
3687 | pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more |