Skip to content

EC improve performance #109

Closed
Closed

Description

@hannesm

The numbers in #107 (comment) hint that doing arithmetic in OCaml (by calling the C primitives) is not very high-performance (heap allocations for temporary values may have some impact as well).

Namely, check and eventually reimplement in C:

  • Make_point.is_solution_to_curve_equation
  • Make_point.to_affine_raw
  • Make_scalar.scalar_mult
  • Make_dsa.x_of_finite_point_mod_n
  • Make_dsa.sign
  • Make_dsa.verify

Activity

  1. hannesm commented on Mar 19, 2024

    @hannesm
    MemberAuthor

    Since #191 and further evaluation, let's spend the time on benchmarking and flamegraphs before implementing stuff in C. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededperformance(potential) performance improvements

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions