Parent Directory | Revision Log
added benchmarking script, some speedup (7029.54/s vs 5829.19/s), removed left-overs from php porting (dictionaries are not supported by this module), make dump_isis.pl arguments same as dump_openisis.pl, renamed GetMFN to fetch
1 | dpavlin | 2 | #!/usr/bin/perl -w |
2 | |||
3 | use strict; | ||
4 | use blib; | ||
5 | |||
6 | use IsisDB; | ||
7 | use Data::Dumper; | ||
8 | |||
9 | my $isis = IsisDB->new ( | ||
10 | dpavlin | 7 | isisdb => shift @ARGV || '/data/isis_data/ps/LIBRI/LIBRI', |
11 | debug => shift @ARGV, | ||
12 | dpavlin | 2 | ); |
13 | |||
14 | dpavlin | 4 | print "rows: ",$isis->{'maxmfn'},"\n\n"; |
15 | |||
16 | dpavlin | 2 | for(my $mfn = 1; $mfn <= $isis->{'maxmfn'}; $mfn++) { |
17 | print $isis->to_ascii($mfn),"\n"; | ||
18 | |||
19 | } | ||
20 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |