-
Notifications
You must be signed in to change notification settings - Fork 471
Open
Labels
Milestone
Description
There is currently a performance penalty due to the extra function call when using Option.map
/flatMap
/forEach
instead of a switch
statement.
The compiler could optimize/inline these calls. (Same for Null/Nullable actually, but less important IMHO as Option
is more widely used.)
glennsl, stephanoskomnenos, mediremi, WhyThat and jagadam97