This commit is contained in:
Gavin Wood
2021-11-02 15:09:40 +01:00
committed by GitHub
parent 471e9cfbf1
commit 977cf450b3
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -140,8 +140,8 @@ let mut target_path =
```
- Unsafe code requires explicit proofs just as panickers do. When introducing unsafe code,
consider tradeoffs between efficiency on one hand and reliability, maintenance costs, and
security on the other. Here is a list of questions that may help evaluating the tradeoff while
consider trade-offs between efficiency on one hand and reliability, maintenance costs, and
security on the other. Here is a list of questions that may help evaluating the trade-off while
preparing or reviewing a PR:
- how much more performant or compact the resulting code will be using unsafe code,
- how likely is it that invariants could be violated,