Skip to content

Commit

Permalink
Speed up operations when logging is disabled. (rs#18)
Browse files Browse the repository at this point in the history
Low-level optimizations to help the compiler generate better code
when logging is disabled. Measured improvement is ~30% on amd64
(from 21 ns/op to 16 ns/op).
  • Loading branch information
rasky authored and rs committed Nov 5, 2017
1 parent 9d194eb commit 89e128f
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 70 deletions.
Loading

0 comments on commit 89e128f

Please sign in to comment.