Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: martinus/robin-hood-hashing
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.11.5
Choose a base ref
...
head repository: martinus/robin-hood-hashing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 23, 2022

  1. Update README.md

    martinus authored Mar 23, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    bdfe16d View commit details

Commits on Jun 5, 2022

  1. Create FUNDING.yml

    martinus authored Jun 5, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    bd2f719 View commit details

Commits on Jul 5, 2022

  1. added link

    martinus committed Jul 5, 2022
    Copy the full SHA
    fb14836 View commit details

Commits on Jan 31, 2023

  1. Enable std::is_trivially_copyable in clang (#166)

    Clang has this weird behavior of setting __GNUC__ to 4, hence clang will always take the if branch. This is suboptimal because std::is_trivially_copyable has almost always been in clang. This patch should fix it.
    avitase authored Jan 31, 2023
    Copy the full SHA
    bd63205 View commit details

Commits on Apr 21, 2023

  1. Update issue templates

    martinus authored Apr 21, 2023
    Copy the full SHA
    27168d7 View commit details
  2. Copy the full SHA
    7697343 View commit details
Showing with 35 additions and 1 deletion.
  1. +13 −0 .github/FUNDING.yml
  2. +16 −0 .github/ISSUE_TEMPLATE/robin-hood-hashing-is-deprecated.md
  3. +5 −0 README.md
  4. +1 −1 src/include/robin_hood.h
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: [martinus] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/robin-hood-hashing-is-deprecated.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: robin-hood-hashing is deprecated
about: Describe this issue template's purpose here.
title: 'WARNING: robin-hood-hashing is DEPRECATED'
labels: ''
assignees: ''

---

WARNING: robin-hood-hashing is DEPRECATED

>>>> I will not add any more features or fix any warnings. Only critical PRs will be merged, if you are willing to write one yourself. <<<
Unfortunately I do not have time to continue development for this hashmap. I have a worthy successor though, please head over to: `ankerl::unordered_dense::{map, set}` https://github.com/martinus/unordered_dense

If you need a very fast unordered map for lookups, you might want to have a look at `boost::unordered_flat_map`.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
➵ robin_hood unordered map & set [![Release](https://img.shields.io/github/release/martinus/robin-hood-hashing.svg)](https://github.com/martinus/robin-hood-hashing/releases) [![GitHub license](https://img.shields.io/github/license/martinus/robin-hood-hashing.svg)](https://raw.githubusercontent.com/martinus/robin-hood-hashing/master/LICENSE)
============

------
> **_NOTE:_** Unfortunately I do not have time to continue development for this hashmap. I have a worthy successor though, please head over to: [`ankerl::unordered_dense::{map, set}`](https://github.com/martinus/unordered_dense)
> I have spent a lot of time developing and improving it `robin_hood`, and it works quite well for most use cases. I won't make any updates to this code any more, unless they are PRs for critical bug fixes.
------

[![Travis CI Build Status](https://travis-ci.com/martinus/robin-hood-hashing.svg?branch=master)](https://travis-ci.com/martinus/robin-hood-hashing)
[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/github/martinus/robin-hood-hashing?branch=master&svg=true)](https://ci.appveyor.com/project/martinus/robin-hood-hashing)
2 changes: 1 addition & 1 deletion src/include/robin_hood.h
Original file line number Diff line number Diff line change
@@ -206,7 +206,7 @@ static Counts& counts() {

// workaround missing "is_trivially_copyable" in g++ < 5.0
// See https://stackoverflow.com/a/31798726/48181
#if defined(__GNUC__) && __GNUC__ < 5
#if defined(__GNUC__) && __GNUC__ < 5 && !defined(__clang__)
# define ROBIN_HOOD_IS_TRIVIALLY_COPYABLE(...) __has_trivial_copy(__VA_ARGS__)
#else
# define ROBIN_HOOD_IS_TRIVIALLY_COPYABLE(...) std::is_trivially_copyable<__VA_ARGS__>::value