citusdata / citusdata/postgresql-topn
PruneHashTable strategy
Open
- Dominant language
- C
- Stars
- 249
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
in external/topn/topn.c: PruneHashTable function
The comment said "It finds minimum and maximum frequencies first and removes the items which have lower frequency than the average of them."
The code however sort the item from hashtable and only remove `hashTableSize - numberOfRemainingElements ` items.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.