Slot: cse

Code-generation hint (opt-in, backend-independent): eliminate common subexpressions. When true, the generator evaluates each repeated subexpression — including repeated calls to model-defined functions — once and reuses the result instead of re-emitting it at every occurrence. Purely a performance hint: results are numerically identical. A backend whose compiler already performs this elimination may honour it as a no-op. Off by default (expressions are emitted in flat form).

URI: tvbo:slot/cse

Applicable Classes

Name Description Modifies Slot
Dynamics no

Properties

Type and Range

Property Value
Range xsd:boolean
Domain Of Dynamics

Cardinality and Requirements

Property Value

Slot Characteristics

Property Value
If Absent False
Owner Dynamics

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo

Mappings

Mapping Type Mapped Value
self tvbo:cse
native tvbo:cse

LinkML Source

name: cse
description: 'Code-generation hint (opt-in, backend-independent): eliminate common
  subexpressions. When true, the generator evaluates each repeated subexpression —
  including repeated calls to model-defined functions — once and reuses the result
  instead of re-emitting it at every occurrence. Purely a performance hint: results
  are numerically identical. A backend whose compiler already performs this elimination
  may honour it as a no-op. Off by default (expressions are emitted in flat form).'
from_schema: https://w3id.org/tvbo
rank: 1000
ifabsent: 'False'
owner: Dynamics
domain_of:
- Dynamics
range: boolean