Encoding of interpreter-level script representation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go
- Domain
- backend, performance
Research direction
Start by locating interp.Script and the path that parses Sieve source into it. Design an encoding that can be stored externally and restored on demand without reparsing the original script; done means the representation can be recovered efficiently for message processing.
Written by the indexing model from the issue text.
Description
Sieve scripts might be loaded many times again and again while processing incoming messages. While it is possible to store interp.Script objects in memory, a practical implementation might want to avoid doing so as the size and amount of scripts can be significant. One potential solution is to define an efficient encoding of interp.Script data so it can be quickly restored from external cache on-demand without the cost of parsing the original Sieve code.
- Dominant language
- Go
- Stars
- 17
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from foxcpp/go-sieve
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug group: validation priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
codecheckers/chekhov#51 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100