How to Install and Uninstall libtsl-hopscotch-map-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 23,2024

1. Install "libtsl-hopscotch-map-dev" package

This guide let you learn how to install libtsl-hopscotch-map-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtsl-hopscotch-map-dev

2. Uninstall "libtsl-hopscotch-map-dev" package

Please follow the step by step instructions below to uninstall libtsl-hopscotch-map-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtsl-hopscotch-map-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtsl-hopscotch-map-dev package on Ubuntu 21.10 (Impish Indri)

Package: libtsl-hopscotch-map-dev
Architecture: all
Version: 2.3.0-1
Multi-Arch: foreign
Priority: optional
Section: universe/libdevel
Source: hopscotch-map
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Med Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 282
Filename: pool/universe/h/hopscotch-map/libtsl-hopscotch-map-dev_2.3.0-1_all.deb
Size: 36476
MD5sum: 821a992f8778fef833a7084def748cb6
SHA1: f69aab04066a43137d51be550323fe5f64e2817c
SHA256: ff4a34d765b4ba6a09789bdcd69ab7a2f29f2c16bf8dcfbab8236d5c833961ad
SHA512: 8d0d3ef129401e2fa98122455d87349e022e49d2a4426424441ef3fd7be1fb57dbd65106158d165b52eb7881a8d90a1cc649661531b7956798ed6e0e58991802
Homepage: https://github.com/Tessil/hopscotch-map/
Description-en: C++ fast hash map and hash set using hopscotch hashing
The hopscotch-map library is a C++ implementation of a fast hash map and hash
set using open-addressing and hopscotch hashing to resolve collisions. It is a
cache-friendly data structure offering better performances than
`std::unordered_map` in most cases and is closely similar to
`google::dense_hash_map` while using less memory and providing more
functionalities.
.
The library provides the following main classes: `tsl::hopscotch_map`,
`tsl::hopscotch_set`, `tsl::hopscotch_pg_map` and `tsl::hopscotch_pg_set`. The
first two are faster and use a power of two growth policy, the last two use a
prime growth policy instead and are able to cope better with a poor hash
function. Use the prime version if there is a chance of repeating patterns in
the lower bits of your hash (e.g. you are storing pointers with an identity
hash function).
.
In addition to these classes the library also provides `tsl::bhopscotch_map`,
`tsl::bhopscotch_set`, `tsl::bhopscotch_pg_map` and `tsl::bhopscotch_pg_set`.
These classes have an additional requirement for the key, it must be
`LessThanComparable`, but they provide a better asymptotic upper bound.
Nonetheless if you don't have specific requirements (risk of hash DoS attacks),
`tsl::hopscotch_map` and `tsl::hopscotch_set` should be sufficient in most
cases and should be your default pick as they perform better in general.
Description-md5: 957428b2ba957c78c3bd04ddfcbe6577