Slot-value Vs. Structure Accessors
Defstruct accessors compile in-line
Single memory reference
Slot-value is optimized when object type can be inferred
But not completely in-lined (instance-read-1)
2 memory references
Unoptimized slot-value is quite slow
Previous slide
Next slide
Back to first slide
View graphic version