diff options
author | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-20 10:35:01 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-20 10:35:01 +0100 |
commit | b3009103bd2b86b2ee0df2a71300bb976442c6a6 (patch) | |
tree | 8a952d8e6eed7fbfbb1431af106d75c5bb82eddd /src/tools | |
parent | a9bd08bf09c7baa9254a4b63aacb6bbb23f85f07 (diff) | |
download | ouroboros-b3009103bd2b86b2ee0df2a71300bb976442c6a6.tar.gz ouroboros-b3009103bd2b86b2ee0df2a71300bb976442c6a6.zip |
lib: optimization of ringbuffer
Got rid of divisions and modulo operations.
Change in the meaning of a #define.
SHM_DU_MAP_SIZE: is now an exponent of 2. Default is 10, allowing
for 1024 blocks in the map.
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions