logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: 2 patches, 27% faster indexing time: msg#00047

Subject: Re: 2 patches, 27% faster indexing time
On Jul 18, 2005, at 10:35 AM, Tony Bowden wrote:
What about a package global in Plucene for storing a mem cache?
$Plucene::CACHE


Still sounds pretty nasty. Would you mind talking us through what it's
for and how it would be used, and hopefully someone can come up with a
better plan.

In case it's helpful... since you folks are requiring Perl 5.8, you have the option of opening virtual files:

[begin virtualfile.plx]

#!/usr/bin/perl
use strict;
use warnings;

my $data = '';
my $fh;

open($fh, '+<', \$data);
print $fh "foo\n";
seek($fh, 0, 0);
print <$fh>;

[end virtualfile.plx]

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>