Skip to content

Prefer @item.key?(x) over @item.attributes.include?(x)

@item.key?(x) creates a dependency on just the 'x' attribute, while @item.attributes creates a dependency on all attributes. The former makes incremental compilation a tad faster.

Merge request reports