Dynamic embedded memory management part 2

As a follow-up to the previous article, here are some tips to determine the use of the heap by your program.

In C

In C, it is quite difficult to estimate heap usage because the allocator functions are type-erased, i.e. the return type of the alloca...

Description of the voting algorithms

Here's a description of the voting algorithms used by Rangepoll

Common voting example

Here are the collected results for a vote for the best fruits:

Voter Apple Cherry Pear
Alice 2 3 1
Bob 1 3 2
Cindy 4 1...