Celtoys / Remotery

Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer
Apache License 2.0
3.11k stars 264 forks source link

Custom hash function #216

Closed JCash closed 2 years ago

JCash commented 2 years ago

In our use case, I'd like to store the same hashes for later presenting in our internal UI. This allows me to avoid going back and forth between strings and our own hash functions.

By using our internal hash function, I can keep the minimal storage needed for each recorded frame.

dwilliamson commented 2 years ago

Clever idea. I like this instead of function pointers.