odoo/o-spreadsheet#6057

Created by BI, Alexis Lacroix (laa)

Blocked

label
odoo:16.0-table_conversion-convertTableFormulaReferences-perf-laa
head
1d250b10196c35485ac01202dd427439cef0e7a8
odoo/o-spreadsheet
16.0 #6057 missing r+
17.0
18.0
saas-18.1
saas-18.2
saas-18.3
master

[PERF] import xlsx: avoid reading all cells multiple times during table_conversion

Previously, the content of each cell was inspected multiple times, once per table, leading to significant performance overhead. In this commit, the inspection process is optimized to traverse the cells only once.

A data structure now stores only the cells that need to be updated, improving both efficiency and calculation time.

This optimization results in a 10% reduction in total import time.

Task: 4699860