Closed Dylan-Brotherston closed 2 years ago
This has a massive performance overhead and might want to be rolled back and rethought.
wait really? can you give examples of where this is noticeable? The only thing added I can see that could have a noticeable perf impact is the label iteration on every byte, but this could be rethought easily by creating a HashMap once before the loops start
It's hard to do an exact benchmark. But it is noticeably slower.
If you are actively viewing the data tab it is extremely obvious it has slowed down.
I'm not noticing anything? Stepping through commands that modify the data tab and/or position of $sp/$fp affect the data tab instantaneously and even running two_powerful to completion updates without issue.
doesn't need to be in this PR but adding a button somewhere to toggle the labels showing in the rendered data segment itself rather than just hovering on tooltip would be nice