Skip to content

Commit

Permalink
stack: speed up pass through by 1.9x
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
maruel committed May 31, 2020
1 parent 5795b8e commit c9ea50b
Showing 1 changed file with 178 additions and 148 deletions.
Loading

0 comments on commit c9ea50b

Please sign in to comment.