Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the use of SmartString for strings #2338

Open
schungx opened this issue Aug 26, 2024 · 0 comments
Open

Allow the use of SmartString for strings #2338

schungx opened this issue Aug 26, 2024 · 0 comments

Comments

@schungx
Copy link

schungx commented Aug 26, 2024

In databases there are a lot of textual codes, most of which are short.

Using smartstring (or equivalent) may result in performance improvement, although I have not benchmarked it.

The idea being that of avoiding allocations for short strings, which should be the majority of text in a database.

Is there a way to override the default mapping for string data types to SmartString?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant