[
https://issues.apache.org/jira/browse/ARROW-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659679#comment-17659679
]
Rok Mihevc commented on ARROW-2653:
-----------------------------------
This issue has been migrated to [issue
#15725|https://github.com/apache/arrow/issues/15725] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C++] Refactor hash table support
> ---------------------------------
>
> Key: ARROW-2653
> URL: https://issues.apache.org/jira/browse/ARROW-2653
> Project: Apache Arrow
> Issue Type: Task
> Components: C++
> Affects Versions: 0.11.1
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 12h 10m
> Remaining Estimate: 0h
>
> Currently our hash table support is scattered in several places:
> * {{compute/kernels/hash.cc}}
> * {{util/hash.h}} and {{util/hash.cc}}
> * {{builder.cc}} (in the DictionaryBuilder implementation)
> Perhaps we should have something like a type-parametered hash table class
> (perhaps backed by non-owned memory) with several primitives:
> * decide allocation size for a given number of items
> * lookup an item
> * insert an item
> * decide whether resizing is needed
> * resize to a new memory area
> * ...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)