Skip to content

Commit 8e9e1d3

Browse files
committed
Added a build.php to the bench directory
1 parent ec13813 commit 8e9e1d3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

bin/build.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Toflar\FastSet\FastSet;
6+
use Toflar\FastSet\SetBuilder;
7+
8+
require_once 'vendor/autoload.php';
9+
10+
SetBuilder::buildSet(__DIR__.'/../tests/Fixtures/list.txt', __DIR__.'/../var/terms_encoded.txt');
11+
12+
$fastSet = new FastSet(__DIR__.'/../var');
13+
$fastSet->build(__DIR__.'/../var/terms_encoded.txt');

0 commit comments

Comments
 (0)