Refactored ExtrudeGeometry.bevel to use less temporary vectors.
Didn't help much, there is still a lot of garbage collection showing up in profiler (~18 %). Also, real hotspot are loops in Shape.Utils.triangulateShape (with ~27% of total time spend on Vector2.equal). This maybe could be refactored with hashmaps.
Showing
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
想要评论请 注册 或 登录