- commit
- 2d81318595b10e2fcdf9b0601923a0cc3156c6be
- parent
- 08111b3777d6bde50488b8de170fbad7dbf81b97
- author
- Dami <dami.etoile@gmail.com>
- kind
- feat risk score 1.9 of 3, Jev's estimate
| M | docs/ | 2 | +- |
| M | internal/ | 1 | + |
| M | internal/ | 1 | + |
@@ -158,7 +158,7 @@ How new sheets and files without a locale of their own are typed and shown: deci
158158 159159 #### `max-cells`160160 161-The most cells an import keeps, and a paste or fill writes at once. Numbers and text take 20 to 60 bytes a cell and formulas about 750, so the default of ten million cells of data is 200 to 600 MB. Imports keep whole rows up to the budget and say how many they left out; larger pastes and fills are refused. The grid itself is 1,048,576 rows by 16,384 columns (A to XFD) whatever this is.161+The most cells an import keeps, and a paste or fill writes at once. Numbers and text take 20 to 60 bytes a cell and formulas about 750, so the default of ten million cells of data is 200 to 600 MB. Imports keep whole rows up to the budget and say how many they left out; larger pastes and fills are refused. A function that holds what it reads (MEDIAN, SORT) is given no more of a linked source. The grid itself is 1,048,576 rows by 16,384 columns (A to XFD) whatever this is.162162 163163 | | |164164 |---|---|@@ -116,6 +116,7 @@ var Options = []Option{
116116 "take 20 to 60 bytes a cell and formulas about 750, so the default of ten million cells of " +117117 "data is 200 to 600 MB. Imports keep whole rows " +118118 "up to the budget and say how many they left out; larger pastes and fills are refused. " +119+ "A function that holds what it reads (MEDIAN, SORT) is given no more of a linked source. " +119120 "The grid itself is 1,048,576 rows by 16,384 columns (A to XFD) whatever this is."},120121 121122 {Name: "shell", Kind: Enum, Group: GroupShell, Default: "ask", Values: []string{"off", "ask", "on"}, Env: []string{"O12_SHELL"}, Live: true,@@ -108,6 +108,7 @@ func (m *Model) syncSources() tea.Cmd {
108108 r.host = paged.NewHost(sheet.MaxCells())109109 w.SetSources(r.host)110110 }111+ r.host.Budget = sheet.MaxCells() // the setting applies at once111112 keeper := m.keepsSources()112113 if keeper {113114 m.linkSources(infos)