6 releases

0.1.5 Feb 24, 2023
0.1.4 Feb 24, 2023

#20 in #intern

Download history 54/week @ 2024-04-08 84/week @ 2024-04-15 86/week @ 2024-04-22 325/week @ 2024-04-29 31/week @ 2024-05-06 92/week @ 2024-05-13 20/week @ 2024-05-20 72/week @ 2024-05-27 107/week @ 2024-06-03 105/week @ 2024-06-10 128/week @ 2024-06-17 88/week @ 2024-06-24 35/week @ 2024-07-01 116/week @ 2024-07-08 114/week @ 2024-07-15 233/week @ 2024-07-22

500 downloads per month
Used in imbl-value

MIT license

11KB
293 lines

yasi: Yet Another String Interner

Uses Arc'd references, and performs Hash and Eq using Display, so that you can intern anything implementing Display without allocating unless the value doesn't already exist

Dependencies

~2MB
~30K SLoC