2.5.4 Impact on Performance

Using structures and, by extension, structural subtyping has no impact on performance when compiling to dynamic targets. However, on static targets a dynamic lookup has to be performed which is typically slower than a static field access.