temporalio / temporalio/sdk-rust
[Feature Request] Stop cloning read only strings everywhere
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 523
- Forks
- 161
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 67
Description
There's a number of strings that get cloned a bunch and never modified. Things like:
- Workflow & Run id
- Task Queue
- Namespace
Etc etc.
I'd like to do two things:
- Use some kind of read-only string / interning library to help with the individual strings
- Pass around some refcounted property bags for the commonly used sets of stuff like this
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, entry points, or tests are identified. Start by locating where Workflow and Run IDs, Task Queue, and Namespace strings are cloned, then determine the scope of the proposed read-only strings and refcounted property bags. Done requires an agreed design and implementation covering the commonly repeated values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100