-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.Performance
Milestone
Description
We are working on an implementation of defer statements that makes most defer
s no more expensive than open-coding the deferred call, hence eliminating the incentives to avoid using this language to its fullest extent. We wanted to document the design in the proposal/design repo.
See issue #14939 for discussion of defer
performance issues.
The design document is posted here. The current, mostly complete implementation is here
Comments are welcome on either the design or the implementation.
beoran, GreenHedgehog, asifjalil, bcmills, CAFxX and 42 morecespare, rasky, CAFxX, tmthrgd, singhpradeep and 14 morejulienschmidt, dgellow, jfesler, ondrej-fabry, sensorsasha and 8 morethepudds, lukechampine, rasky, tmthrgd, pierrre and 12 more
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.Performance