File: find_sizes.c

package info (click to toggle)
hspell 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,556 kB
  • sloc: ansic: 2,808; perl: 1,989; makefile: 209; sh: 109; awk: 15
file content (22 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (C) 2003 Nadav Har'El and Dan Kenigsberg */

#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>

#include "dict_radix.h"

#include <time.h>

int
main(int argc, char *argv[])
{
	struct dict_radix *dict = new_dict_radix();

	allocate_nodes(dict, 200000, 100000, 10000);

	read_dict(dict, NULL);
	print_sizes(dict);
	print_stats(dict);
	return 0;
}