Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

KinoSearch1::Store::RAMInvIndex - in-memory InvIndex

Constructor

new
       Create a RAMInvIndex object.  "new" takes one optional parameter, "path". If "path" is supplied,
       KinoSearch1 will try to read an FSInvIndex at that location into memory.

Description

       RAMInvIndex is an entirely in-memory implementation of KinoSearch1::Store::InvIndex.  It serves two main
       purposes.

       First, it's possible to load an existing FSInvIndex into memory, which can improve search-speed -- if you
       have that kind of RAM to spare.  Needless to say, any FSInvIndex you try to load this way should be
       appropriately modest in size.

       Second, RAMInvIndex is handy for testing and development.

License, Disclaimer, Bugs, Etc.

       See KinoSearch1 version 1.01.

perl v5.40.0                                       2024-10-20               KinoSearch1::Store::RAMInvIndex(3pm)

Name

       KinoSearch1::Store::RAMInvIndex - in-memory InvIndex

Synopsis

           my $invindex = KinoSearch1::Store::RAMInvIndex->new(
               path   => '/path/to/invindex',
           );

           # or...
           my $invindex = KinoSearch1::Store::RAMInvIndex->new;

See Also