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