A quick bout of profiling revealed that much of the time spent in optimization is in stringifying instructions so they can be logged. Much of the time (i.e., when we actually want to execute the program), we don't even need the log. The compiler should have a flag that enables the production of accept_log.txt and disable stringification when it is not provided.
A quick bout of profiling revealed that much of the time spent in optimization is in stringifying instructions so they can be logged. Much of the time (i.e., when we actually want to execute the program), we don't even need the log. The compiler should have a flag that enables the production of
accept_log.txt
and disable stringification when it is not provided.