Commit c9ea50b
committed
stack: speed up pass through by 1.9x
Use lower level bufio functionality, work in []byte instead of string,
saving a ton of memory copy and making the pass through much faster.
Interestingly parsing became a tad slower with more memory allocation.
It is unclear to me where they occurs.1 parent 5795b8e commit c9ea50b
1 file changed
Lines changed: 178 additions & 148 deletions
0 commit comments