You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Performance Note**: For lifetimes `2^18` and `2^32`, always compile with `zig build -Doptimize=ReleaseFast` for acceptable performance. Debug builds will be extremely slow for larger lifetimes.
- ⚠️ **Lifetime `2^18`**: Rust sign → Rust/Zig verify and Zig sign → Zig verify pass; **Zig sign → Rust verify currently fails** due to a mismatch in the 2^18 instantiation on the Rust side.
The script automatically builds both implementations and runs comprehensive cross-language tests (Rust ↔ Zig signing and verification).
154
-
155
-
### Test Results
156
-
157
-
**Lifetime 2^32 (256 active epochs):**
158
-
- ✅ Rust keygen: ~2.0s, Zig keygen: ~1.3s
159
-
- ✅ All verification tests pass
160
-
161
-
**Lifetime 2^32 (1024 active epochs):**
162
-
- ✅ Zig keygen: ~51.7s (46.5% faster with parallel optimization)
163
-
- ✅ All verification tests pass
164
-
165
-
See [Performance Benchmarks](#performance-benchmarks) for detailed timing information.
166
-
167
132
## Performance Benchmarks
168
133
169
134
Performance measurements are taken using ReleaseFast builds with debug logging disabled. For lifetime `2^32` with 1024 active epochs, key generation time is measured using the dedicated profiler:
0 commit comments