This repository has been archived by the owner. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use khash for tracking event listeners
After doing some testing locally it became apparent that ets is a bit of a bottleneck when used as a bag with many duplicate keys. Theoretically this new approach could be accomplished by nesting ets tables but the ets table limit makes that approach untenable in the long run. This just replaces the use of ets with khash as well as runs a nested hash table structure to store the list of pids for each database name.
- Loading branch information
Showing 6 changed files with 168 additions and 261 deletions.