[poincare/tree_pool] Store node offsets, not node pointers

This saves place because we store uint16_t, not uint32_t
This commit is contained in:
Léa Saviot
2019-11-26 16:33:26 +01:00
parent 6a62f23000
commit 0a1c6a3d1d
3 changed files with 18 additions and 7 deletions

View File

@@ -26,6 +26,8 @@ typedef int64_t int_fast64_t;
typedef uint8_t uint_least8_t;
#define UINT16_MAX 0xffff
#define INT16_MAX 0x7fff
#define INT16_MIN (-INT16_MAX-1)