@echo off

copy 01.t 01 >nul
copy 02.t 02 >nul

cl /EHsc gen_big_unique.cpp
cl /EHsc gen_big_onekeyword.cpp
cl /EHsc gen_big_prefix.cpp
cl /EHsc gen_insertion.cpp
cl /EHsc gen_unit_add.cpp
cl /EHsc gen_unit_remove.cpp
cl /EHsc gen_unit_search.cpp
cl /EHsc gen_big_onekeyword_ft.cpp
cl /EHsc gen_big_prefix_ft.cpp

gen_big_onekeyword 100 72682684 > 03
gen_big_onekeyword 100 79356935 > 04

gen_big_unique 100 78934624 > 05
gen_big_unique 200 13464624 > 06
gen_big_unique 300 17454157 > 07
gen_big_unique 500 72456826 > 08
gen_big_unique 1000 72682684 > 09
gen_big_unique 2500 79356935 > 10

gen_big_onekeyword 2500 72682684 > 11
gen_big_onekeyword 2500 79356935 > 12

gen_insertion 2500 789123 > 13

gen_big_prefix 2500 72682684 > 14
gen_big_prefix 2500 79356935 > 15

gen_unit_add 1998 7823546 > 16
gen_unit_add 2500 1343676 > 17
gen_unit_add 2500 1376136 > 18

gen_unit_remove 1998 7823546 > 19
gen_unit_remove 1995 1343676 > 20
gen_unit_remove 1998 1376136 > 21

gen_unit_search 134364546 > 22
gen_unit_search 131537536 > 23
gen_unit_search 157817814 > 24

gen_big_prefix 2500 137587154 > 25
gen_big_prefix 2500 178155272 > 26

gen_insertion 2500 15781875 > 27
gen_insertion 2500 78125892 > 28
gen_insertion 2500 25962303 > 29
gen_insertion 2500 72709635 > 30

gen_big_onekeyword 2500 71347714 > 31
gen_big_onekeyword 2500 13471775 > 32

gen_big_onekeyword_ft 2500 79356935 > 33
gen_big_onekeyword_ft 2500 79356935 > 34

gen_big_prefix_ft 137587154 > 35
gen_big_prefix_ft 178155272 > 36

call tall mb
