PERF-#5029: Don't use `_compute_axis_labels_and_lengths` for computing `_row_lengths/_column_widths` (#5030)
PERF-#5029: Don't use `_compute_axis_labels_and_lengths` for computing `_row_lengths/_column_widths` (#5030)

Co-authored-by: Iaroslav Igoshev <608ac60077c228fb708ed4291b5823f0b37857fb@mail.ru>
Signed-off-by: Myachev <891778d0bbe2d9c0eda4a6dbde77616e7f335abb@intel.com>
modin-project/modin,modin-project/modin