-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
good first issueGood for newcomersGood for newcomersperfperformance-related PRs or issuesperformance-related PRs or issues
Description
#780 introduces the new Kzg module, but the Rust part of the NIF loads a trusted setup on every function call. We should change this so it's loaded only once at module initialization, but preferably at compile-time.
Some ideas:
- embed the file in the compiled binary (
include_bytes!) - use static variables to cache the parsed file (
std::sync::Once) - add some init function to run on module load
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersperfperformance-related PRs or issuesperformance-related PRs or issues
Type
Projects
Status
Backlog