You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(grid): eliminate string allocations in GridSelectionCalcEngine via zero-allocation formatted number scanner #1520
In lib/features/workspace/grid_selection_calc_engine.dart (lines 125–147):
When a user drags a selection box across the data grid, compute(List<String> values) recalculates statistics (Sum, Avg, Median, Min, Max) for every pointer move:
for (final raw in values) {
final trimmed = raw.trim(); // Allocation 1if (trimmed =='NULL'|| trimmed.isEmpty) { ... }
distinctSet.add(trimmed);
final normalized = trimmed.replaceAll(',', ''); // Allocation 2final parsed =double.tryParse(normalized);
...
}
Activity
perf(grid): read thousands-separated numbers in selection stats witho…
docs(changelog): today's entries; test: calc bar test after #1674 (de…