PrismarineJS / PrismarineJS/node-minecraft-protocol
Investigate the possibility to use es6 proxy to parse lazily only if the object is accessed
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 290
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 7
Description
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
would be needed to still parse enough to know the name of the packet.
Would need an useful benchmark to evaluate the gain
idea from @DeltaEvo
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 with the linked MDN Proxy reference and inspect the packet parsing flow to determine how a proxy could retain enough data to identify the packet name. Define and run a useful benchmark comparing eager and lazy parsing. Done means the potential gain is measured and the feasibility or limitations are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100