Skip to content

Do not use the smartstring crate#329

Merged
thomaskrause merged 9 commits intomainfrom
remove-smartstrings
Aug 13, 2025
Merged

Do not use the smartstring crate#329
thomaskrause merged 9 commits intomainfrom
remove-smartstrings

Conversation

@thomaskrause
Copy link
Copy Markdown
Member

The crate allows to have small strings on the stack and larger ones on the heap. From benchmarks, using this did actually decrease the performance for most queries.

Since the AnnoKey struct used the smart strings, the public interface of graphANNIS does change.

@thomaskrause thomaskrause merged commit 607d511 into main Aug 13, 2025
9 of 10 checks passed
@thomaskrause thomaskrause deleted the remove-smartstrings branch August 20, 2025 14:14
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

Successfully merging this pull request may close these issues.

1 participant