logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

KiokuDB::GC::Naive - Naive mark and sweep garbage collection

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

       This class implements full mark and sweep garbage collection for a backend supporting
       KiokuDB::Backend::Role::Scan.

Name

       KiokuDB::GC::Naive - Naive mark and sweep garbage collection

Synopsis

           use KiokuDB::GC::Naive;

           my $gc = KiokuDB::GC::Naive->new(
               backend => $backend,
           );

           $backend->delete( $gc->garbage->members );

Version

       version 0.57

See Also