Logo FSharp.Core

OptimizeClosureIfNotInlinedAttribute Type

Used with InlineIfLambda on a separately curried parameter whose type is a curried F# function of arity 2 to 5. When the enclosing function or method is inlined but the argument is not a known lambda, the compiler adapts the closure once via OptimizedClosures.FSharpFunc instead of dispatching its arity on every fully applied call.

Constructors

Constructor Description

OptimizeClosureIfNotInlinedAttribute()

Full Usage: OptimizeClosureIfNotInlinedAttribute()

Returns: OptimizeClosureIfNotInlinedAttribute OptimizeClosureIfNotInlinedAttribute

Creates an instance of the attribute

Returns: OptimizeClosureIfNotInlinedAttribute

OptimizeClosureIfNotInlinedAttribute

Type something to start searching.