Sha256: 869da0bb50b92a18fbb656fb90e3566a32873d9648dfdbbf339e22f3119f8877
Contents?: true
Size: 733 Bytes
Versions: 5
Compression:
Stored size: 733 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end module Arachni module Support::Cache # Least Recently Pushed cache implementation. # # Discards the least recently pushed entries, in order to make room for newer ones. # # This is the cache with best performance across the board. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class LeastRecentlyPushed < Base private def prune @cache.delete( @cache.first.first ) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems