Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Only use guard pages for currently-active stacks.

    Enable millions of fibers without stack checks.

    Nick Barnes (@NickBarnes)
  2. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Optimize Patricia tree iterator and leapfrog join

    This PR simply extracts the changes to algorithms from #7316,

    Xavier Clerc (@xclerc)
  3. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Pass Ox Ptr values to C as pointers

    Experimental draft PR that adds @raw_ptr annotations to parameters of external calls, which are understood as a value_or_null & bits64 value, such as an Ox.Ptr.t. The compiler adds the two words of the fat pointer together to get a single address word, which can be passed to a C function expecting a pointer.

    Nick Barnes (@NickBarnes)
  4. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Peephole optimise imul to lea for multipliers 3,5,9.

    We already use lea in place of imul for simple constant multipliers in some places. In experimenting with writing hash functions in OxCaml, @nmatschke found some places where that was not done. This adds a peephole stage on the backend to pick up those cases.

    Nick Barnes (@NickBarnes)
  5. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Preserve non-destructive substitution through Typedtree

    Will Sturgeon (@wrsturgeon)
  6. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Profile find_in_pending_manifests calls

    Follow-up to #6951: wraps the find_in_pending_manifests calls in Load_path with Profile.record_call ~accumulate:true, so time spent lazily loading pending hidden manifests shows up in -dprofile output alongside the existing load_visible_manifests / enqueue_hidden_manifests counters.

    Zesen Qian (@riaqn)
  7. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Reaper: answer rebuild's queries at solve time

    This PR introduces an optimization in the reaper: it precomputes the queries asked at build time. That is, the datalog queries the rebuild needs are recorded during traversal, run in bulk once the fixpoint is solved, and captured as plain values. [Rebuild_solution] packages the query results with the unboxing decisions and code changes. The rebuild consumes …

    Simon Spies (@spiessimon)
  8. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Reaper: carry the solved slot offsets in the rebuild solution

    In preparation of link-time optimization, this PR stores the solved slot offsets in the rebuild solution.

    Simon Spies (@spiessimon)
  9. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Reaper: let the traversal know whether the returned value escapes

    This PR tweaks an aspect of the reaper's traversal: it conditionalizes whether we want the final return of a compilation unit to be marked as escaping. It is escaping when we run the reaper per compilation unit, but not escaping when the reaper runs for link time optimization.

    Simon Spies (@spiessimon)
  10. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Reaper: run a flat datalog schedule under -reaper-solve

    This PR changes the fixpoint iteration schedule when compiling with link-time optimizations. Instead of a two tier schedule, we use a schedule.

    Simon Spies (@spiessimon)
  11. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Reaper: support rebuilding without typing information

    This PR tweaks the rebuild step of the reaper to make its typing environment optional. This is useful for link-time optimization, where there is no need to produce the final typing environment.

    Simon Spies (@spiessimon)
  12. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Recheck constraints after refining parameters from manifests

    Reject:

    dkalinichenko-js
  13. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Recompute type declaration variance after module dependency elimination

    Title. #6762 exposed an edge case where code in Ctype.update_level was not properly expanding parametrized constructors with phantom parameters through aliases, because those aliases had imprecise variance information. Now we recompute type declaration variance after module dependency elimination. See tests, before and after the change, for more context.

    dkalinichenko-js
  14. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Record compiler profiling in Dune action traces

    Liam Stevenson (@liam923)
  15. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Record compiler timings in Dune action traces

    PR for testing

    Liam Stevenson (@liam923)
  16. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Record only direct dependencies in cmi import tables

    The import table of a cmi now records only the units whose cmis were actually read during compilation, each with its own interface CRC, instead of the transitive closure of dependencies accumulated through a consistency table.

    Zesen Qian (@riaqn)
  17. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Refactor hand-written print functions

    This refactors a bit of printing code that is common to a lot of printers for flambda2 structures into separate functions in the Misc module, that can be called to simplify the writing of printing function, especially those that print a list of fields.

    Guillaume Bury (@Gbury)
  18. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Register allocation: fix handling of per-function parameters

    As per title; the laziness was capturing the

    Xavier Clerc (@xclerc)
  19. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Register allocators: use different costs for hot and cold blocks

    As per title; there is something wrong in the

    Xavier Clerc (@xclerc)
  20. Pull requestW39.2026 · 21–27 Sepoxcaml/oxcaml

    Remove -basic-block-sections.

    The flag had no users and no prospective users, and did not work:

    Xavier Clerc (@xclerc)