]> git.sesse.net Git - remoteglot-book/blobdiff - www/opening-stats.pl
Partition the SSTable; somewhat less efficient space-wise, it seems, but we avoid...
[remoteglot-book] / www / opening-stats.pl
index 9b68e918540cb047110ae14bd7a12d3e54fbe4e6..33d3c082dcd551a657a7c5847360c47d0a26046c 100755 (executable)
@@ -13,7 +13,7 @@ my $cgi = CGI->new;
 my $fen = $cgi->param('fen');
 my $pos = Position->from_fen($fen);
 my $hex = unpack('H*', $pos->bitpacked_fen);
-open my $fh, "-|", "../binlookup", "../open.mtbl", $hex
+open my $fh, "-|", "../binlookup", "../open.mtbl", "40", $hex
        or die "../binlookup: $!";
 
 my $opening;