diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-07-06 04:06:23 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-07-08 02:38:36 +0300 |
commit | 609b8656910eccbb409b58050c306798be22a078 (patch) | |
tree | 200d54114b2ef8c53e0224da96fca7ab35fbc53b /source4/dsdb/samdb/samdb.c | |
parent | 0c4bbb7106cc2d49052eb85f995dc991b578d885 (diff) | |
download | samba-609b8656910eccbb409b58050c306798be22a078.tar.gz samba-609b8656910eccbb409b58050c306798be22a078.tar.bz2 samba-609b8656910eccbb409b58050c306798be22a078.zip |
s4-dsdb/util: Reorder DSDB_FLAG_* checks
On good thing about having more clear function interfaces
(and forcing callers to specify clearly what they want)
is that now I can execute following search:
git grep DSDB_FLAG_NEXT_MODULE | wc -l
This showed that DSDB_FLAG_NEXT_MODULE flag is about 6 times
more frequently used than DSDB_FLAG_OWN_MODULE.
So this should reduce branch prediction by six times
in this part of the code, right :)
Diffstat (limited to 'source4/dsdb/samdb/samdb.c')
0 files changed, 0 insertions, 0 deletions