Relates :
|
A significant amount of time is spent allocating and copying arrays when a Path2D is grown to a large number of path elements. The current growth algorithm is linear, but other growable storage objects use a progressive growth algorithm that increases the number of new elements as the capacity grows.
|