Skip to content

Commit

Permalink
log: make use of InfoHash::to_c_str()
Browse files Browse the repository at this point in the history
Reduce log overhead by using to_c_str()
to print InfoHash in logs,
effectively avoiding to allocate
and free memory at each InfoHash log print.
  • Loading branch information
aberaud committed Apr 10, 2017
1 parent 9d75ed1 commit 1b4248f
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 73 deletions.
Loading

0 comments on commit 1b4248f

Please sign in to comment.