Optimize yojson size (js_of_ocaml)
Open
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 281
- Forks
- 30
- Avg merge
- 5h 30m
- Merged PRs (30d)
- 4
Description
org_js.bc.js now is `227K` compared to `163K` without ppx_yojson_deriving.
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 comparing the generated org_js.bc.js sizes: 227K with ppx_yojson_deriving versus 163K without it. Trace how yojson and ppx_yojson_deriving enter the js_of_ocaml build, then identify a measurable way to reduce the bundle while preserving the parser output. Done means the optimized build is smaller and its existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100