Skip to content

Conversation

ivg
Copy link
Member

@ivg ivg commented Nov 21, 2019

The Knowlege.run was computing every possible slot of a value, to ensure that all stored computations are triggered. However, for classes that have a lot of slots it was unnecessary slow, especially when none of those slots are having any stored computations.

A simple fix, is to ignore slots without stored procedures turns out int x4 improvement of the run function for the program class. It doesn't affect the disassemble command, which wasn't using the run command, but affects mc and objdump which were using it.

The Knowlege.run was computing every possible slot of a value, to
ensure that all stored computations are triggered. However, for
classes that have a lot of slots it was unnecessary slow, especially
when none of those slots are having any stored computations.

A simple fix, is to ignore slots without stored procedures turns out
int x4 improvement of the run function for the program class. It
doesn't affect the disassemble commmand, which wasn't using the run
command, but affects `mc` and `objdump` which were using it.
@gitoleg gitoleg merged commit 276fa17 into BinaryAnalysisPlatform:master Nov 21, 2019
@ivg ivg deleted the tweak-knowledge-run branch December 1, 2021 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants