(nr_constructs): New static variable, used to gather statistics.
Changed all functions to set it where appropriate. (nr_l2gs): Likewise. (nr_l2gs_peak): Likewise. (nr_destructs): Likewise. (nr_clears): Likewise. (nr_copies): Likewise. (nr_joins): Likewise. (nr_joined_blocks): Likewise. (nr_blocks): Likewise. (nr_blocks_peak): Likewise. (nr_blocks_sparse): Likewise. (nr_blocks_sparse_peak): Likewise. (sparse_skip_cost): Likewise. (nr_sparse_compactions): Likewise. (nr_sparsifications): Likewise. (l2g_destruct): Actually fill the destructed object with garbage data, unless NDEBUG is defined. (l2g_read): New file format. (put_ulong): New static function. (l2g_write): New file format. (dump_l2g_stats): New function.
Please register or sign in to comment