KiokuD...:Naive(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– KiokuDB::GC::Naive πŸ’–

okay so bestie, we're reading the manual page for KiokuDB::GC::Naive, which lives in the User Contributed Perl Documentation section of the manual (that's the 3pm part, iykyk) πŸŽ€


✨ NAME ✨

KiokuDB::GC::Naive β€” Naive mark and sweep garbage collection 🧹✨


🌸 VERSION 🌸

version 0.57 πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the vibe, literally copy-paste energy:

use KiokuDB::GC::Naive;

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

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

like… you build the gc with your backend, ask it for the garbage, and then hand the members straight to $backend->delete. that's the whole entire pipeline, no cap 🫢


πŸ‘‘ DESCRIPTION πŸ‘‘

This class implements full mark and sweep garbage collection for a backend supporting KiokuDB::Backend::Role::Scan πŸ”₯

that's it, that's the description. short king of a description, but it does exactly what it says on the tin β€” it's giving "I do one job and I do it well" πŸ’€βœ¨


🌈 AUTHOR 🌈

Yuval Kogman <nothingmuch@woobling.org> 🫢


This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive. πŸ’–

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 🌸


and that's the page, bestie!! πŸ‘‘ source/version and date for the record: perl v5.34.0, 2022-05-23 β€” slay, go mark and sweep something πŸ’…πŸ¦‹

πŸ“¦ where this page comes from