Registry / utility / pi-atom

pi-atom

JSON →
library0.6.1rscratesunverified

The global thread safe atomic string pool reduces the memory occupation of the same string and is also used for HashMap keys

# Cargo.toml [dependencies] pi_atom = "0.6.1"
INSTALL
IMPORT
SIG · PI-ATOM
P
pi-atom
utilityrustv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Atom
use pi_atom::Atom;

Creates an interned string atom from "hello".

use pi_atom::Atom; let atom = Atom::new("hello"); println!("Atom value: {}", atom.as_str());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pi-atom — cargo add pi-atom · libregistry