This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Hashtable
- From: Arkady <arkady dot miasnikov at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Wed, 5 Jul 2017 19:46:49 +0300
- Subject: Hashtable
- Authentication-results: sourceware.org; auth=none
Hi,
I have a CPU bottleneck in some situations on heavy loaded servers.
>From the tests it appears that associative maps contribute significant
part of the overhead. I was thinking about replacing the maps with a
simple hashtable like this one (this is not production code)
https://gist.github.com/larytet/c306d470f7b032c796efad15dcd609a9
Is there something like this in STAP API which I could use?
Thank you, Arkady.