Skip to content
Snippets Groups Projects
Commit 7f66c164 authored by Marco Biasini's avatar Marco Biasini
Browse files

Speeding up selections some more

This time, the speed improvement comes from eliminating excessive
calls of malloc/free caused by reallocation of the value stack for
the expression evaluation. Also, I've eliminated creating temporary
string copies wherever possible. The resulting Shark profile looks
much cleaner and is dominated by the actual evaluation rather than
mallocs/frees. Seems to improve speed by 10-20%.
parent 8964407f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment