Skip to content

Draft: remove custom blocks

Danny Willems requested to merge marco@remove-custom-blocks into master

This MR replaces custom blocks with Bytes.t and Bigstringaf.t.

Advantages:

  • removes a bunch of C
  • types are transparent to OCaml, which simplifies convertions
  • the GC is probably happier managing small values such as fr g1 and g2, I see a 3% speedup on the tx-rollup benchmark in privacy-team

Merge request reports