… | |
… | |
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 | |