Commit 22517e8
committed
graph: Round BigInt cache weight up to full bytes
Use ceiling division when converting bit length to bytes so values whose bit width is not a multiple of eight are not undercounted for cache accounting.1 parent f031138 commit 22517e8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments