Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(stdune): skip canonical path bounds checks

    Canonical-path detection starts scanning at String.length s - 1 and only decrements the index after checking that it remains non-negative. The string accesses nevertheless perform redundant bounds checks on every scanned character.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(stdune): specialize lexbuf location equality

    Compare lexing positions and locations through their fields instead of polymorphic comparison. Short-circuit both equality layers when the persistent records are physically identical.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(stdune): test local path roots with equality

    Local paths represent their root with ".", but Path.Local.is_root currently performs a three-way string comparison and then converts the result to equality.

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(stdune): validate environment bindings once

    Reject NUL bytes while constructing bindings rather than scanning rendered

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(stdune): validate exceptional filenames directly

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(stdune): validate filenames by length

    Filename validation currently calls general string equality for both . and .., even though their lengths make those cases trivial to distinguish.

    Rudi Grinberg (@rgrinberg)
  7. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(targets): fast-path canonical empty combinations

    Avoid inspecting both target sets when accumulation combines with the shared empty value. Preserve structural emptiness checks for independently constructed empty sets.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(targets): reuse non-empty combined outputs

    Return the other immutable target set when one side of Dune_targets.combine is empty. This skips both array-set unions and avoids allocating a result record for empty rule outputs.

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf(targets): validate files and directories directly

    Use direct folds for file and directory target validation instead of a generic callback-driven fold. Preserve sorted traversal, first-parent selection, file/directory conflict selection, and terminal errors.

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf: avoid closures in hot comparison functions

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf: batch qualified module dependency lookup

    Batch qualified module dependency resolution and cache only disjoint top-level group closures, bounding retained cache memory while preserving empty, self-only, and fail-fast behavior.

    Antonio Nuno Monteiro (@anmonteiro)
  12. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf: generate lexers as direct OCaml code

    Generate all Dune-owned lexers with ocamllex -ml via the new (flags ...) field, avoiding the table interpreter. The bootstrap generator remains unchanged because it does not consume these stanzas.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf: reduce major GC frequency

    Major collections account for a substantial fraction of Dune's warmed no-op

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW33.2026 · 10–16 Augocaml/dune

    perf: reduce null-build instruction overhead

    Remove unnecessary bounds checks from explicitly bounded string, byte, and array loops.

    Rudi Grinberg (@rgrinberg)
  15. IssueW33.2026 · 10–16 Augocaml/dune

    pkg: retry transient Git fetch failures

    dune pkg lock failed in this CI job while fetching the package repository:

    Ali Caglayan (@Alizter)
  16. Pull requestW33.2026 · 10–16 Augocaml/dune

    refactor(cli): remove unused build wrapper

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

    refactor(cli): share debug-backtrace option

    Reuse Common.No_build.debug_backtraces for the cache and trace commands instead of maintaining identical Cmdliner argument definitions. This keeps the option spelling, documentation, and behavior in one place.

    Rudi Grinberg (@rgrinberg)
  18. Pull requestW33.2026 · 10–16 Augocaml/dune

    refactor(cli): share promotion database selection

    Rudi Grinberg (@rgrinberg)
  19. Pull requestW33.2026 · 10–16 Augocaml/dune

    refactor(config): reuse toggle representation

    Use the canonical Toggle.repr when representing the package-management toggle in Dune configuration. This removes a duplicate Repr.variant definition and keeps the configuration representation aligned with Toggle.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW33.2026 · 10–16 Augocaml/dune

    refactor(configurator): share C probe setup

    Rudi Grinberg (@rgrinberg)