Files
test/source
Hans Goudey 99594f7281 Sculpt: Use Vector::resize instead of reinitialize
Though it amounts to the same thing for trivially destructible types,
conceptually `reinitialize` destructs old values before resizing. This
isn't necessary, and in the cases where it was used for a vector of
vectors (like vertex neighbor index storage), it could be slower.
I measured a few percent performance improvement for the smooth brush.

Also change some dynamically resized Arrays to vectors to make
use of amortized growth.
2024-07-26 08:44:29 -04:00
..