Repository activity
40458 results across all weeks
perf(rules): collect target-bearing actions without tuples
Rudi Grinberg (@rgrinberg)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)perf(rules): recognize identical libraries before comparing arguments
Rudi Grinberg (@rgrinberg)perf(rules): reuse dependency deduplication tables
Add Hashtbl.Make.dedupe_by, which returns a staged stable-deduplication
Rudi Grinberg (@rgrinberg)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)perf(rules): skip no-op library argument completion
Rudi Grinberg (@rgrinberg)perf(sexp): compact common field decoder nodes
Rudi Grinberg (@rgrinberg)perf(sexp): represent same-type alternatives directly
Rudi Grinberg (@rgrinberg)perf(sexp): skip revalidating lexer-produced atoms
Use an unchecked constructor only for text already accepted by the lexer atom rules. General Atom callers continue to validate their input.
Rudi Grinberg (@rgrinberg)perf(stdune): avoid closures in result list traversals
Rudi Grinberg (@rgrinberg)perf(stdune): avoid copying reversed set accumulators
Sorted.Set.of_sorted_list collects deduplicated elements in reverse order.
Rudi Grinberg (@rgrinberg)perf(stdune): avoid rechecking unboxed options
Unbox values directly only after internal callers have established that the sentinel is absent. Keep the public value_exn check and its exact Code_error unchanged.
Rudi Grinberg (@rgrinberg)perf(stdune): inline pair equality
Inline pair equality at call sites while preserving left-to-right short-circuiting and the supplied component equality functions.
Rudi Grinberg (@rgrinberg)perf(stdune): inline pair hashing
Inline pair hashing at call sites so concrete component hashers can be specialized while preserving the exact Hash create, feed, and finalization sequence.
Rudi Grinberg (@rgrinberg)perf(stdune): inline unboxed-option matching
Inline the sole production unboxed-option match so its identity success branch and lazy construction branch are specialized while preserving one sentinel check and branch order.
Rudi Grinberg (@rgrinberg)perf(stdune): keep non-allocating string affix checks
Rudi Grinberg (@rgrinberg)perf(stdune): parse valid local paths directly
Share an is_valid predicate between the result-returning and
Rudi Grinberg (@rgrinberg)perf(stdune): reduce map bindings in one traversal
Use Map.update for list-reduction constructors so each binding performs one tree descent while preserving duplicate order and reducer semantics.
Rudi Grinberg (@rgrinberg)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)perf(stdune): reuse strings when taking their full length
Rudi Grinberg (@rgrinberg)