# atom ## Description Simple string interning library. Interning strings will optimize memory usage and prevent duplicates, allowing for faster comparison and reduced memory overhead. This is useful when you need to store many identical strings (such as identifiers or constants) but want to avoid storing them multiple times. ## Table of Contents - [Description](#description) - [Features](#features) - [Usage](#usage) - [Credits / Resources](#credits--resources) - [License](#license) ## Features atom_string(const char *str): Interns a string and returns a pointer to the interned string. It is automatically converted to a string if given an argument of type const char *.
atom_int(int64_t n): Converts an integer to its string representation and interns it. Useful for handling numeric strings efficiently. ## Usage ## Credits / Resources [Tom Preston-Werner README Driven Development](https://tom.preston-werner.com/2010/08/23/readme-driven-development)
[Make a README](https://www.makeareadme.com/)
[Choose a LICENSE](https://choosealicense.com/)
[C Interfaces and Implementations](https://github.com/drh/cii)
[Glib - Quark](https://docs.gtk.org/glib/alias.Quark.html)
## License This project is licensed under MIT - see the [LICENSE](LICENSE) file for details.