-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Optimize call instruction in the VM #497
Conversation
…when calling a C++ function We used to resize our vector, default allocating n values, creating n values, then replacing those values by ones coming from the stack (copying). This wasn't efficient, we now reserve and copy from the stack to the vector once, after a call to reserve.
Static analysis reportLizard reportListing only functions with cyclomatic complexity >= 15 or NLOC >= 100 or parameters >= 6.
Report about files you didn't modify in this PR
CppCheck report
Report files about files you didn't modify in this PR
|
…stead of a boolean argument
b6da941
to
f3c50e7
Compare
Fuzzing report/usr/local/bin/afl-whatsup status check tool for afl-fuzz by Michal Zalewski Summary stats
Cycles without finds : 0 [+] Captured 31890 tuples (map size 178397, highest value 255, total values 266180541) in '/dev/null'. |
Description
Optimize the call instruction in the VM to avoid default constructing
n
non-POD values for CProcs, just to replace them by another value right after.Checklist