We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There is currently a performance penalty due to the extra function call when using Option.map/flatMap/forEach instead of a switch statement.
Option.map
flatMap
forEach
switch
The compiler could optimize/inline these calls. (Same for Null/Nullable actually, but less important IMHO as Option is more widely used.)
Option