Skip to content

docs: focus README Performance on not_char2 (scalar incl. inversion) + batched smalljac comparison - #4

Merged
salindne merged 1 commit into
batched-group-lawfrom
readme-perf-cleanup
Jun 18, 2026
Merged

docs: focus README Performance on not_char2 (scalar incl. inversion) + batched smalljac comparison#4
salindne merged 1 commit into
batched-group-lawfrom
readme-perf-cleanup

Conversation

@salindne

Copy link
Copy Markdown
Owner

Cleans up the README Performance section to exactly two things, as requested:

  1. Per operation (scalar), inversion includednot_char2 add/double at a 56-bit prime, PrimeField vs MontgomeryField, with an explicit note that each affine op performs exactly one field inversion (and how much that inversion costs).
  2. Batched throughput vs smalljac — scalar + batched, this crate (MontgomeryField) vs smalljac, showing the crate matches/beats smalljac in both modes.

Removes the stale "Apple M1" PrimeField tables (ramified + split) and the longer prose comparison block; those numbers were from a different machine and pre-Montgomery. The variants live under Features and the field-operation-count table still covers all three. README-only change (−35 net lines).

Stacked on #3 (batched-group-law): it uses the MontgomeryField numbers + batched API from that PR. Base is batched-group-law; once #3 merges, GitHub retargets this to main and the diff stays README-only. Merge #3 first.

…ion) + batched smalljac comparison

Replace the stale Apple-M1 PrimeField tables with current same-machine numbers
for g2::ramified::not_char2 at a 56-bit prime, organized as the user asked:

- Per operation (scalar): PrimeField vs MontgomeryField add/double, with the
  explicit note that each affine op includes exactly one field inversion.
- Batched throughput vs smalljac: scalar + batched, this crate (MontgomeryField)
  vs smalljac, showing the crate matches/beats smalljac in both modes.

Drops the outdated split/arbitrary/char2 wall-clock tables (those variants are
listed under Features; the op-count table still covers them). Keeps the
field-operation-count table.
@salindne
salindne merged commit a1a004d into batched-group-law Jun 18, 2026
@salindne
salindne deleted the readme-perf-cleanup branch June 18, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant