Sha256: a3d9b42d9670612ab679f76ca47a1a7d24a44e01b2e2b0a42d610590d0282306
Contents?: true
Size: 718 Bytes
Versions: 5
Compression:
Stored size: 718 Bytes
Contents
=begin Copyright 2010-2022 Ecsypno <http://www.ecsypno.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