lurk-rs icon indicating copy to clipboard operation
lurk-rs copied to clipboard

Use `Arc<str>` instead of `String` for `Symbol`

Open arthurpaulino opened this issue 2 years ago • 2 comments

[Post #364]

This will enhance the speed and memory consumption on every routine that involves cloning symbols. For reference, this idea is already implemented in src/lem/symbol.rs, which should be removed in favor of src/symbol.rs after this change.

arthurpaulino avatar Jul 03 '23 15:07 arthurpaulino

@arthurpaulino can we close this?

huitseeker avatar Dec 21 '23 20:12 huitseeker

This was originally @gabriel-barrett's idea and is not implemented yet. So I defer the answer to him

arthurpaulino avatar Dec 21 '23 20:12 arthurpaulino