Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(cram): share stanza dependency evaluation

    Whole-subtree Cram stanzas can apply to tests in many directories. Memoize their expanders and dependency builders by the defining directory instead of recreating them for every matching test, while preparing them lazily so unmatched stanzas do no extra work. This reduces null-build time for the blackbox test-cases runtest alias by roughly 15–20%.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(digest): batch primitive representation fields

    Feed adjacent Repr type tags and primitive payloads in one BLAKE3 update. Preserve the exact little-endian tags, payload bytes, ordering, and byte metrics.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(digest): batch representation case markers

    Feed short selected Repr case-name bytes and their argument marker in

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(digest): batch representation variant headers

    Feed each Repr variant tag and selected case-name length in one BLAKE3

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(digest): encode sized manual strings in one pass

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(engine): digest target paths without concatenation

    Rudi Grinberg (@rgrinberg)
  7. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(engine): extract target contexts directly

    Rule execution only needs the build context from targets.root, but Target_dir.of_target constructs a complete target classification, including the source remainder. Add Target_dir.context to extract only the context and use it when selecting execution parameters, preserving the existing root and invalid-path handling while avoiding intermediate variants.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(engine): feed dependency fact digests directly

    Feed the stable dependency-fact schema through named inline functions

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(engine): reuse identical rule maps during union

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(install): inspect build paths without generic wrappers

    Install.Context.of_path already receives a Path.Build.t. Classify it directly with Dpath.Target_dir.of_target instead of wrapping it as a generic Path.t and immediately unwrapping the result. This makes impossible source and external cases unrepresentable and avoids intermediate variants while preserving the existing classification.

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(path): append known filenames without normalization

    Use relative_fname when appending values already known to be valid Filename.t path components, avoiding redundant conversion and normalization across directory traversal, cache, package, and rule paths. Append external filename components directly and cover root and trailing-separator behavior.

    Rudi Grinberg (@rgrinberg)
  12. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(pkg): parse git ls-tree output by index instead of regex

    Stacked on #15989. Only the final commit is new in this draft.

    Ali Caglayan (@Alizter)
  13. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(rules): expand literal command arguments directly

    Handle A and As leaves in the nested argument traversal without constructing and immediately destructuring a target-free With_targets record. Keep all dependency- and target-bearing forms on the generic expansion path.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(rules): recognize identical libraries before comparing arguments

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(rules): reuse dependency deduplication tables

    Add Hashtbl.Make.dedupe_by, which returns a staged stable-deduplication

    Rudi Grinberg (@rgrinberg)
  16. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(rules): reuse parsed transitive dependencies

    Transitive OCaml dependency lookups cached only the serialized merge-action output. Consumers needing modules could consequently repeat line splitting, module-name validation, map lookup, and construction of a separate memo node.

    Rudi Grinberg (@rgrinberg)
  17. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(sexp): fuse common decoder combinators

    The S-expression decoder interprets parser combinators through a GADT, so common Bind, Map, Seq, And, and Repeat compositions create intermediate value/state results and repeatedly dispatch through the interpreter.

    Rudi Grinberg (@rgrinberg)
  18. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(sexp): reuse empty field decoder states

    Field decoder state retains recognized names only to generate hints for unknown input fields. Once no unparsed fields remain, those names are no longer observable.

    Rudi Grinberg (@rgrinberg)
  19. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(source): avoid validating VCS directory entries

    Use Readdir.read_directory while searching ancestor directories for a VCS root, allowing directory entries to remain Filename.t values instead of converting and revalidating each name. Unreadable parent directories continue to produce a warning with the detailed Unix error.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW34.2026 · 17–23 Augocaml/dune

    perf(stdune): append validated path components directly

    Filename.t now guarantees a valid path component on every platform, so the Path.relative_fname family can append it directly instead of converting and reparsing it. This also removes the unused error_loc optional argument from these functions.

    Rudi Grinberg (@rgrinberg)