Commit 2f17e33
Prevent duplicate callstack frame queries.
Callstack frames will now have nullptr as the value in the callstackFrameMap
map, as a way to signal that a query for given key is already pending.
Duplicate queries should no longer happen.
@slomp provided alternative implementation, which produced the following
results:
Queries made: 195,778
Duplicate queries skipped: 9,518,910
Co-authored-by: Marcos Slomp <[email protected]>1 parent c704f90 commit 2f17e33
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3203 | 3203 | | |
3204 | 3204 | | |
3205 | 3205 | | |
| 3206 | + | |
3206 | 3207 | | |
3207 | 3208 | | |
3208 | 3209 | | |
| |||
6515 | 6516 | | |
6516 | 6517 | | |
6517 | 6518 | | |
6518 | | - | |
| 6519 | + | |
6519 | 6520 | | |
6520 | 6521 | | |
6521 | 6522 | | |
| |||
6628 | 6629 | | |
6629 | 6630 | | |
6630 | 6631 | | |
6631 | | - | |
6632 | | - | |
| 6632 | + | |
| 6633 | + | |
| 6634 | + | |
| 6635 | + | |
6633 | 6636 | | |
6634 | 6637 | | |
6635 | 6638 | | |
| |||
0 commit comments