GitXplorerGitXplorer
a

Interner

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
754f2827d7442486516b92731a3d139385a9fd85

no need to use eq if the h2 do not match

aandjo403 committed 2 years ago
Unverified
fae01892b3685e5f9cc3c4e2f61af3f00629242b

restructure the code and fix fix loom test

aandjo403 committed 2 years ago
Unverified
d7d1d186a76d00f8a2cfc733de9ceb48549d9bcc

make it compile on latest nightly

aandjo403 committed 2 years ago
Unverified
3561c7c8c55fe955714da1b37f58d11530b4c0e2

replace num_cpu with available_parallelism

aandjo403 committed 3 years ago
Unverified
f3c9b31111fcca7b0bc0b23fa7a35a0ab6be7ca7

change to portable simd

aandjo403 committed 3 years ago
Unverified
339153fc4f53f9be9be96f8c9959926bf5afb857

fix unsoundnes

aandjo403 committed 3 years ago

README

The README file for this repository.

interner

This library provides an concurrent insert only interner. Inserts is only locking one slot and store part of the hash in the look to let other inserts with eough diffrent hash to not block on the looked slot. During resize insert is still possible and if the value was already interned only possibly extra lookup in newer interners is done. During resize all work with moving is done by threads that needs to insert a new value in the interner.

Usage

Add this to your Cargo.toml:

[dependencies]
interner = { git = "https://github.com/andjo403/Interner.git" }

License

Licensed under: