<commit_before>#!/usr/bin/php
<?php
define('CHASH_NODES',    99);
define('CHASH_LOOKUPS',  1000000);
define('CHASH_ITEM',     'item-54321');
define('CHASH_BALANCE',  5);

// Ring initialization
$nodes = array();
for ($index = 1; $index <= CHASH_NODES; $index ++)
{
   $nodes[sprintf('node-%02d', $index)] = 1;
}
$start = microtime(true);<commit_msg>[CHASH] Minor change for MacOSX/fink compliance<commit_after>#!/usr/bin/php
<?php
define('CHASH_NODES',    99);
define('CHASH_LOOKUPS',  1000000);
define('CHASH_ITEM',     'item-54321');
define('CHASH_BALANCE',  5);

// Load extension
dl('chash.so');

// Ring initialization
$nodes = array();
for ($index = 1; $index <= CHASH_NODES; $index ++)
{
   $nodes[sprintf('node-%02d', $index)] = 1;
}
$start = microtime(true);
{'fraction_non_alphanumeric': 0.21251629726205998, 'fraction_numerical': 0.04954367666232073, 'mean_word_length': 5.347107438016529, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7499530', 'n_tokens_mistral': 323, 'n_tokens_neox': 299, 'n_words': 57}