Skip to content

Commit

Permalink
revert previous temporary change
Browse files Browse the repository at this point in the history
Now after confirming that both methods give the same results we can stick with the faster one, that is,
additive allocation calculations.
  • Loading branch information
ABW authored and vogel76 committed Apr 22, 2024
1 parent 19dddc8 commit 3aa7f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chainbase/include/chainbase/chainbase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ namespace chainbase {
virtual statistic_info get_statistics() const override final
{
helpers::index_statistic_provider provider;
//* For testing:
/* For testing:
helpers::index_statistic_info stats = provider.gather_statistics(_base.indices(), false); //static and additional
FC_ASSERT( stats._item_additional_allocation == _base.get_item_additional_allocation(),
"Wrong value calculated for additional item allocation (${c} vs actual ${a})",
Expand Down

0 comments on commit 3aa7f7a

Please sign in to comment.