GitXplorerGitXplorer
a

Interner

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
27cd8fdc9fc88dfe299c5345f5732c7132de8a8f

simplify drop of interner

aandjo403 committed 2 years ago
Unverified
a39346d4ecb5ec81e7ee39cbe8d10a00a415042b

once_cell is stable now

aandjo403 committed 2 years ago
Unverified
9d4179a93ce56a85ff48d31eabfa407e5e977eec

update current_raw_interner

aandjo403 committed 2 years ago
Unverified
ab4df9dd67f1c4ac53ed55b80b1c72644cfb7139

more fixes to make it work in rustc

aandjo403 committed 2 years ago
Unverified
e2c210b53d114e1b3aa17855dc473d087f4be5f5

fix validate function at wait

aandjo403 committed 2 years ago
Unverified
98553437ab3a204b11ccb9559e650be45123a440

fixes for things noticed when trying to use in rustc

aandjo403 committed 2 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: