I found another approach. It avoids the GC and the Heap: A Circular Buffer:
http://dpaste.dzfl.pl/cf1e7afb

That should work.

Reply via email to