Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
This is close #2523, Optimize formulaArg struct memory layout
  • Loading branch information
shcabin
shcabin committed Nov 23, 2026
commit 1b040c18960497474fc9c2d0e45d8f3363717ecc
5 changes: 2 additions & 3 deletions calc.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,14 @@ const (

// formulaArg is the argument of a formula or function.
type formulaArg struct {
SheetName string
Number float64
String string
List []formulaArg
Matrix [][]formulaArg
Boolean bool
Error string
Type ArgType
cellRefs, cellRanges *list.List
Type ArgType
Boolean bool
}

// Value returns a string data type of the formula argument.
Expand Down
Loading