logseq / logseq/mldoc

Optimize yojson size (js_of_ocaml)

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.