notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

Speedup

Open JakubOnderka opened this issue 2 years ago • 1 comments

This change speedups notify_push Rust application:

  • Uses ahash also creating hash for user ID or for storage mapping HashMap
  • Uses PassthruHasher for already hashed values, like UserId
  • Mark some methods as inline
  • Remove closed connections from active connections hash map
  • Add active user count to metrics

It also updates dependencies, bumps minimal Rust version to 1.56 and fix some clippy warnings.

JakubOnderka avatar Jul 31 '22 13:07 JakubOnderka

Hello,

thanks for the interest in contributing, could you split up the changes into separate PRs to make them easier to reason about

icewind1991 avatar Oct 03 '22 14:10 icewind1991