You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/11/16 15:44:00 UTC

[jira] [Comment Edited] (ARROW-2653) [C++] Refactor hash table support

    [ https://issues.apache.org/jira/browse/ARROW-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689531#comment-16689531 ] 

Antoine Pitrou edited comment on ARROW-2653 at 11/16/18 3:43 PM:
-----------------------------------------------------------------

Basically I'm using [xxhash|https://cyan4973.github.io/xxHash/] (the 64-bit variant). There's also a special case for integers.


was (Author: pitrou):
Basically I'm using [xxhash|https://cyan4973.github.io/xxHash/]. There's also a special case for integers.

> [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
>
> 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
(v7.6.3#76005)