server-skynet-source-3rd-je.../src
Jason Evans 7372b15a31 Reduce cpp conditional logic complexity.
Convert configuration-related cpp conditional logic to use static
constant variables, e.g.:

  #ifdef JEMALLOC_DEBUG
    [...]
  #endif

becomes:

  if (config_debug) {
    [...]
  }

The advantage is clearer, more concise code.  The main disadvantage is
that data structures no longer have conditionally defined fields, so
they pay the cost of all fields regardless of whether they are used.  In
practice, this is only a minor concern; config_stats will go away in an
upcoming change, and config_prof is the only other major feature that
depends on more than a few special-purpose fields.
2012-02-10 20:22:09 -08:00
..
arena.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
atomic.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
base.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
bitmap.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
chunk_dss.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
chunk_mmap.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
chunk_swap.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
chunk.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
ckh.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
ctl.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
extent.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
hash.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
huge.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
jemalloc.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
mb.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
mutex.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
prof.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
rtree.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
stats.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
tcache.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
zone.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00