72 |
my %lhash; |
my %lhash; |
73 |
# this option will cache all lookup entries in memory. |
# this option will cache all lookup entries in memory. |
74 |
# if you are tight on memory, turn this off |
# if you are tight on memory, turn this off |
75 |
my $use_lhash_cache = 0; |
my $use_lhash_cache = 1; |
76 |
|
|
77 |
my $last_field_name; # cache to prevent repeated fields |
my $last_field_name; # cache to prevent repeated fields |
78 |
|
|
1047 |
|
|
1048 |
# call this to commit index |
# call this to commit index |
1049 |
$index->close; |
$index->close; |
|
warn "index closed, exiting...\n"; |
|
1050 |
|
|
1051 |
1; |
1; |
1052 |
__END__ |
__END__ |