Tensegritics / Tensegritics/ClojureDart
Caching protocols
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 1.6k
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
Related to #223
Protocol extensions should be cached at call-site (on a protocol x local basis so that multiple calls benefit from it).
Pseudo code for call site:
IF extension_cache and extension_cache applies to x THEN
use extension_cache on x
ELSE
dispatch & cache
END
where dispatch & case may have an explicit test for the backing interface (sounds less pure but more efficient went than folding it into a pseudo extension)
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.
Research direction
Start by reading related issue #223 and locating the protocol-extension dispatch and caching implementation. The pseudocode defines the intended behavior: cache extensions per call site and protocol/local basis, reuse applicable entries, and verify the dispatch path and caching behavior with focused tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, dart
- Domain
- compilers, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100