You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Dandandan (via GitHub)" <gi...@apache.org> on 2023/07/19 10:56:13 UTC
[GitHub] [arrow-datafusion] Dandandan opened a new issue, #7026: Improve performance of hash map usage
Dandandan opened a new issue, #7026:
URL: https://github.com/apache/arrow-datafusion/issues/7026
### Is your feature request related to a problem or challenge?
Currently we use `get_mut` to get an entry and `insert` in places where we use a `RawTable` (hash join / hash aggregate).
Using `RawTable::find_or_find_insert_slot` and `insert_in_slot` should be faster, as the map needs to search for the place only once instead of twice.
### Describe the solution you'd like
Using `RawTable::find_or_find_insert_slot` and `insert_in_slot`
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] Dandandan closed issue #7026: Improve performance of hash map usage
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan closed issue #7026: Improve performance of hash map usage
URL: https://github.com/apache/arrow-datafusion/issues/7026
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] Dandandan closed issue #7026: Improve performance of hash map usage
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan closed issue #7026: Improve performance of hash map usage
URL: https://github.com/apache/arrow-datafusion/issues/7026
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] Dandandan commented on issue #7026: Improve performance of hash map usage
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan commented on issue #7026:
URL: https://github.com/apache/arrow-datafusion/issues/7026#issuecomment-1642725745
While testing this, this doesn't seem to be much faster while adding extra unsafety, so let's not do this :).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] Dandandan commented on issue #7026: Improve performance of hash map usage
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan commented on issue #7026:
URL: https://github.com/apache/arrow-datafusion/issues/7026#issuecomment-1642676925
Seems it does not yet what we want yet, I created a PR upstream https://github.com/rust-lang/hashbrown/pull/447
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] Dandandan commented on issue #7026: Improve performance of hash map usage
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan commented on issue #7026:
URL: https://github.com/apache/arrow-datafusion/issues/7026#issuecomment-1642697305
Misunderstood the code, doesn't seem to be a problem as the `reserve(1)` doesn't mutate the capacity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org