| Subject | Re: [PATCH 4/6] rbtree: faster augmented insert | From | Peter Zijlstra <> | Date | Fri, 27 Jul 2012 21:31:10 +0200 |
| |
On Fri, 2012-07-20 at 05:31 -0700, Michel Lespinasse wrote: > > rb_insert_color() is now a special case of rb_insert_augmented() with > a do-nothing callback. I used inlining to optimize out the callback, > with the intent that this would generate the same code as previously > for rb_insert_augmented(). This didn't fully work, as my compiler output > is now *smaller* than before for that function. Speed wise, they seem > comparable though.
It might be good to mention which particular GCC you're using.
|