The answer is that the shapes of the ribs do not collide with other shapes of the ribs.
From the manual:
Edge shapes are line segments. They are designed to be a static free form environment for your game. The main limitation is that they can collide with circles and polygons, but not with themselves. The collision algorithms used by Box2D require that at least one of the two colliding forms has volume. The extreme forms do not have volume, so an edge collision is impossible.
So, despite the fact that you have many edge forms, since they do not collide with each other, you do not see a decrease in performance. After adding some objects, box2d starts checking for conflicts.
source
share