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

Comparing libev/ev.c (file contents):
Revision 1.238 by root, Thu May 8 20:49:12 2008 UTC vs.
Revision 1.239 by root, Thu May 8 20:52:13 2008 UTC

766 * a small-code-size 2-heap one and a ~1.5kb larger 4-heap 766 * a small-code-size 2-heap one and a ~1.5kb larger 4-heap
767 * which is more cache-efficient. 767 * which is more cache-efficient.
768 * the difference is about 5% with 50000+ watchers. 768 * the difference is about 5% with 50000+ watchers.
769 */ 769 */
770#define USE_4HEAP !EV_MINIMAL 770#define USE_4HEAP !EV_MINIMAL
771#define USE_4HEAP 1/* they do not work corretcly */
772#if USE_4HEAP 771#if USE_4HEAP
773 772
774#define DHEAP 4 773#define DHEAP 4
775#define HEAP0 (DHEAP - 1) /* index of first element in heap */ 774#define HEAP0 (DHEAP - 1) /* index of first element in heap */
776 775

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines