-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Currently asmap-rs takes 15 Gb of RAM, need to get that down to 4Gb.
Rationale from @naumenkogs: "Ideally, any user should have the right to be paranoid and do everything on their own, including constructing their own asmap locally. Obviously, requiring constructing asmaps on the phone is not reasonable, but maybe comparing to compiling Bitcoin Core is reasonable. This takes 2-4Gb of RAM."
For profiling and narrowing down the inefficient code:
- Use Rust's
benchmarkfeature for tests - Use
cargo flamegraph(requires bin to work)