https://issues.dlang.org/show_bug.cgi?id=11892 --- Comment #2 from Jacob Carlborg <doob at me.com> --- How about having one buffer per category and then merging them at the end before outputting them. Will that help? --