server-skynet-source-3rd-je.../include
Jason Evans 944c8a3383 Split rtree_elm_t into rtree_{node,leaf}_elm_t.
This allows leaf elements to differ in size from internal node elements.

In principle it would be more correct to use a different type for each
level of the tree, but due to implementation details related to atomic
operations, we use casts anyway, thus counteracting the value of
additional type correctness.  Furthermore, such a scheme would require
function code generation (via cpp macros), as well as either unwieldy
type names for leaves or type aliases, e.g.

  typedef struct rtree_elm_d2_s rtree_leaf_elm_t;

This alternate strategy would be more correct, and with less code
duplication, but probably not worth the complexity.
2017-03-22 18:33:32 -07:00
..
jemalloc Split rtree_elm_t into rtree_{node,leaf}_elm_t. 2017-03-22 18:33:32 -07:00
msvc_compat Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00