Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

34 Commits

Repository files navigation

Global string intern pool

RustversiondocumentationLICENSE

Internal use of DashMap for concurrent support

Examples

use pstr::IStr;let s = IStr::new("hello world");
use pstr::MowStr;letmut s = MowStr::new("hello");assert!(s.is_interned());
s.push_str(" ");assert!(s.is_mutable());
s.mutdown().push_str("world");assert_eq!(s,"hello world");
s.intern();assert!(s.is_interned());

Releases

Packages

Contributors

Languages