Skip to content
Snippets Groups Projects
  • Marco Biasini's avatar
    7f66c164
    Speeding up selections some more · 7f66c164
    Marco Biasini authored
    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%.
    7f66c164
    History
    Speeding up selections some more
    Marco Biasini authored
    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%.
doc NaN GiB