-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defaultX64Disassembler should run mkX64Disassembler at compile time #14
Comments
I'm interested in looking at this, as An alternative approach that @travitch proposed is to build the disassembler table incrementally, one instruction at a time. Similar tricks have been used in flexdis86/src/Flexdis86/Disassembler.hs Lines 415 to 450 in c19b55e
It's not entirely obvious at a first glance what the best approach is for making this incremental. For starters, the flexdis86/src/Flexdis86/Disassembler.hs Lines 171 to 181 in c19b55e
@travitch, do you have any thoughts on a possible design here? |
Moving the discussion of parse table sizes to #40 because solving that is orthogonal to whether or not we compute the tables at compile time |
Constructing the
NextOpcodeTable
at runtime is rather expensive according to my recent profiling. This seems like something that could run at compile-time.refurbish-hm.pdf
The text was updated successfully, but these errors were encountered: