Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(source): avoid memo branches for ordinary files

    Avoid creating Memo branches for ordinary files while scanning source directories; keep them only for directories and symlinks. Test coverage is in #15719.

    Antonio Nuno Monteiro (@anmonteiro)
  2. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): avoid allocations in nonempty-list comparison

    Nonempty_list.compare destructured its arguments and then rebuilt both list

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): cache signal number lookup

    Signal.of_int rebuilt an Int.Map from the platform signal list on every

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): inline string ordering conversion

    Every Stdune.String.compare currently performs the runtime string comparison and then calls Ordering.of_int out of line.

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): join external paths without a temporary list

    Path_external.relative constructs a two-element list solely to pass two strings

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): render environment bindings in one allocation

    Env.to_unix used Printf.sprintf for every KEY=value binding rendered before a process spawn. This allocated a formatting buffer, intermediate strings, and the final binding.

    Rudi Grinberg (@rgrinberg)
  7. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): reuse appendable list traversal frames

    Appendable_list traversals currently represent each remaining Concat child by allocating a new Concat node and stack cell. Wide concatenations therefore create substantial temporary allocation while computing their list, length, or iteration.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(stdune): reuse rendered environment bindings

    Env.to_unix currently rebuilds every KEY=value string when each derived environment is first rendered, even though the persistent map shares most unchanged bindings.

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW32.2026 · 3–9 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)
  10. Pull requestW32.2026 · 3–9 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)
  11. Pull requestW32.2026 · 3–9 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)
  12. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(targets): digest produced targets without lists

    Feed produced-target digests directly from compact map values instead of allocating one list per directory and flattening those lists before hashing. Replace the list-producing map operation with direct value iteration, and bump the rule digest scheme with its affected fixtures.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf(trace): sort allocation rankings once

    Allocation-profile rankings currently insert every candidate into a bounded immutable list and immediately truncate it. With top=100, rebuilding those lists dominates snapshot allocation.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf: increase Dune's default minor heap

    Dune's no-op self-builds allocate enough short-lived data to collect the

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW32.2026 · 3–9 Augocaml/dune

    perf: reduce major GC frequency

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

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

    perf: reduce null-build instruction overhead

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

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

    perf: use String_builder for module alias generation

    I ran some microbenchmarks on this locally, results:

    Antonio Nuno Monteiro (@anmonteiro)
  18. IssueW32.2026 · 3–9 Augocaml/dune

    pkg: retry transient Git fetch failures

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

    Ali Caglayan (@Alizter)
  19. Pull requestW32.2026 · 3–9 Augocaml/dune

    refactor(engine): abstract cached file stats

    Hide workspace-cache file stats behind constructor and accessor functions so

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW32.2026 · 3–9 Augocaml/dune

    refactor(engine): cache anonymous actions without target files

    Anonymous actions previously wrote stamp files and captured stdout under _build/.actions solely to participate in caching. This change makes anonymous rules targetless, captures stdout through a pipe, and stores results in a digest-keyed workspace cache.

    Rudi Grinberg (@rgrinberg)