Skip to content
Snippets Groups Projects
Commit eeaea163 authored by Per Hedbor's avatar Per Hedbor
Browse files

Optimized case for array += ({..}) when refs==2.

This was sort of done before, but it first assigned the lvalue
to 0, then assigned it back to the array once done.

This new version is about 2x faster, improving the "append array"
benchmark by about 60%.
parent b6a44ffd
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment