Closed dmah42 closed 10 years ago
It seems that the difference isn't that big when using dart2js compiler but with native Dart VM fixed-length Lists are much better choice. I haven't tested it on any benchmark so I can't say how big is the difference.
PolygonShape currently uses fixed-length Lists for verticies and normals (length 8 from Settings) which seems inefficient.
We should investigate whether performance gains (CPU/GC) from using dynamic-length lists.