summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-03-20 10:35:01 +0100
committerDimitri Staessens <[email protected]>2016-03-20 10:35:01 +0100
commitb3009103bd2b86b2ee0df2a71300bb976442c6a6 (patch)
tree8a952d8e6eed7fbfbb1431af106d75c5bb82eddd /src/lib/dev.c
parenta9bd08bf09c7baa9254a4b63aacb6bbb23f85f07 (diff)
downloadouroboros-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/lib/dev.c')
0 files changed, 0 insertions, 0 deletions