Class: RSpec::Core::FilterableItemRepository::UpdateOptimized

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/core/metadata_filter.rb

Overview

This implementation is simple, and is optimized for frequent updates but rare queries. append and prepend do no extra processing, and no internal memoization is done, since this is not optimized for queries.

This is ideal for use by a example or example group, which may be updated multiple times with globally configured hooks, etc, but will not be queried frequently by other examples or example groups.