Originally proposed by @motet-a in #41, with some additional modifications.
This fixes the case where the global buffer did not have enough space to hold a result longer than 4K, giving rise to truncated and/or incorrect results. Dynamically allocate the buffer instead.
Originally proposed by @motet-a in #41, with some additional modifications.
This fixes the case where the global buffer did not have enough space to hold a result longer than 4K, giving rise to truncated and/or incorrect results. Dynamically allocate the buffer instead.
Fixes #40.