Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smartstr is a "smart" string implementation.

A smart string is an optimized string representation for immutable strings that is able to store strings from multiple sources. If the string is 15 characters or less, it can be made inline, meaning that there will be no heap allocation. You can create a SmartStr from a static string, and there also will be no heap allocation. Additionally, you can create a smart string from a Box<str>, Arc<str>, or Rc<str>, and the SmartStr will respect the drop/clone semantics of each.

About

Smart string implementation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages