Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created May 5, 2009 22:08
Show Gist options
  • Select an option

  • Save methodmissing/107238 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/107238 to your computer and use it in GitHub Desktop.
#ifdef HASH_LOG
static int collision = 0;
static int init_st = 0;
static void
stat_col()
{
FILE *f = fopen("/tmp/col", "w");
fprintf(f, "collision: %d\n", collision);
fclose(f);
}
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment