https://github.com/kazuho/rangecoder
History
Tip revision: 4376ceaf7c93adc652f712e513640c0ad4539b64 authored by Kazuho Oku on 22 October 2010, 07:34:06 UTC
binary search was accessing [0..N) when [0..N-1) only was necessary, though it was not a bug since the data structure is actually [0..N-1) and the last elements is always the maximum value within the range
Tip revision: 4376cea
File Mode Size
t
range_coder.hpp -rw-r--r-- 5.9 KB

back to top