… | |
… | |
1997 | |
1997 | |
1998 | If you need to shave off some kilobytes of code at the expense of some |
1998 | If you need to shave off some kilobytes of code at the expense of some |
1999 | speed, define this symbol to C<1>. Currently only used for gcc to override |
1999 | speed, define this symbol to C<1>. Currently only used for gcc to override |
2000 | some inlining decisions, saves roughly 30% codesize of amd64. |
2000 | some inlining decisions, saves roughly 30% codesize of amd64. |
2001 | |
2001 | |
|
|
2002 | =item EV_PID_HASHSIZE |
|
|
2003 | |
|
|
2004 | C<ev_child> watchers use a small hash table to distribute workload by |
|
|
2005 | pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more |
|
|
2006 | than enough. If you need to manage thousands of children you might want to |
|
|
2007 | increase this value. |
|
|
2008 | |
2002 | =item EV_COMMON |
2009 | =item EV_COMMON |
2003 | |
2010 | |
2004 | By default, all watchers have a C<void *data> member. By redefining |
2011 | By default, all watchers have a C<void *data> member. By redefining |
2005 | this macro to a something else you can include more and other types of |
2012 | this macro to a something else you can include more and other types of |
2006 | members. You have to define it each time you include one of the files, |
2013 | members. You have to define it each time you include one of the files, |