Mercurial > repos > tabletprog
view tpc @ 81:a905e13db753
Increase the number of buckets checked in a hash set as it grows to keep space overhead reasonable
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 18 Jul 2012 08:59:08 -0700 |
parents | c801dccdb4fb |
children |
line wrap: on
line source
#!/bin/sh args= dir=`dirname $0` while [ $# -gt 0 ]; do if [ "-o" = "$1" ]; then shift output="$1" else args="$args $1" fi shift done if [ $output ]; then if d8 $dir/tpc.js -- $args > $output; then exit else code=$? cat $output 1>&2 rm -f $output exit $code fi else d8 $dir/tpc.js -- $args fi