Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
channel: Use append to allocate an output buffer.
This improves the performance and decreases allocations for the split framings appreciably. BENCHMARK BEFORE AFTER SPEEDUP B/op (B) B/op (A) BenchmarkFramingCost/Line-12 2547 2121 16.7% 4096 2048 BenchmarkFramingCost/NUL-12 2564 2091 18.4% 4096 2048
- Loading branch information