mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-28 08:39:59 -07:00
9 lines
300 B
Markdown
9 lines
300 B
Markdown
# Guidelines
|
|
|
|
## Parser
|
|
|
|
- Avoid floats as much as possible
|
|
- Use structs like `Amount` and `Price` for calculations
|
|
- **Only** use `Amount.to_btc()` when inserting or computing inside a dataset. It is **very** expensive.
|
|
- No `Arc`, `Rc`, `Mutex` even from third party libraries, they're slower
|