odoo/o-spreadsheet#1748

Created by BI, Lucas Lefèvre (lul)

Blocked

label
odoo:master-memoize-ranges-lul
head
87d5a6b36f2631e88c2c4adc0bc78ae13a2f1a8d
odoo/o-spreadsheet
master #1748 missing r+

[POC] memoize ranges

Description:

If we were to use Ranges massively, let's say for every cell, for many plugins each managing a cell feature/attribute (size, evaluation, etc), we would want to optimize memory usage and share identical Range instance objects.

Odoo task ID : TASK_ID

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_lt("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo