- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for tryWrapGlobalInit (0.18 sec)
-
src/cmd/compile/internal/staticinit/sched.go
return nn } const wrapGlobalMapInitSizeThreshold = 20 // tryWrapGlobalInit returns a new outlined function to contain global // initializer statement n, if possible and worthwhile. Otherwise, it // returns nil. // // Currently, it outlines map assignment statements with large, // side-effect-free RHS expressions. func tryWrapGlobalInit(n ir.Node) *ir.Func { // Look for "X = ..." where X has map type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0)