jolt/jolt-core/jolt
Yogthos e2598280fe DO NOT MERGE — reduce-acc SROA regresses (defeats vec-reduce)
Reduce-accumulator scalar replacement: lower (reduce (fn [acc x] body) (->Rec
inits) coll) with a non-escaping record accumulator to a loop carrying the acc
fields as scalar vars. Correct (run-reduce-sroa.ss 7/7, make test + shakesmoke
green) but a PERF REGRESSION: ray tracer hit-all 38.4s -> ~53s.

Root cause: jolt's reduce already iterates a vector with vec-reduce (seq.ss) — a
tight index loop over the backing store, zero per-element allocation. Lowering to
a (seq)/(first)/(next) loop allocates a seq node per element, trading hit-all's
CONDITIONAL ->HitAcc allocation for a per-element seq allocation. The targeted
accumulator allocation is also conditional (only on hit improvement), not the
dominant per-sphere cost. Kept on this branch for reference; not merged.
2026-06-26 11:28:34 -04:00
..
passes DO NOT MERGE — reduce-acc SROA regresses (defeats vec-reduce) 2026-06-26 11:28:34 -04:00
analyzer.clj Source locations: reader positions, error locations, native stack traces (#218) 2026-06-26 02:14:34 +00:00
backend_scheme.clj Devirt: fall back to dispatch when the static tag has no direct impl (#229) 2026-06-26 13:58:23 +00:00
deps.clj host interop + deps fixes for running ring-defaults on jolt 2026-06-25 04:42:35 -04:00
ir.clj Run core.memoize's test suite on jolt 2026-06-25 13:23:05 -04:00
main.clj Tree-shaking: drop library code unreachable from -main (lever 3/4) 2026-06-23 19:45:13 -04:00
nrepl.clj nREPL: make the built-in server middleware-extensible 2026-06-22 15:37:14 -04:00
passes.clj Hintless whole-program double inference (#230) 2026-06-26 14:18:10 +00:00