Use shape_id for determining "too complex"
Using rb_shape_obj_too_complex_p looks up the shape, but we already have the shape id. This avoids looking up the shape twice.
rb_shape_obj_too_complex_p
Use shape_id for determining "too complex"
Using
rb_shape_obj_too_complex_p
looks up the shape, but we alreadyhave the shape id. This avoids looking up the shape twice.