/[Sack]/trunk/bin/shards.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/bin/shards.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (show annotations)
Sun Nov 8 13:21:01 2009 UTC (14 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 199 byte(s)
shart input data into 1000 record shards

1 #!/usr/bin/perl
2
3 use warnings;
4 use strict;
5
6 use lib '/srv/Sack/lib';
7
8 use Sack;
9 use Sack::Shards;
10
11 Sack::Shards->new(
12 path => '/data/isi/full.txt',
13 limit => 1000,
14 );
15
16 duration 'sharding finished';

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26