aboutsummaryrefslogtreecommitdiff
path: root/src/tests/size.cpp
blob: be13b699e7d5e0b1f4532300ba6c9cf8c7321098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "bu/hash.h"
#include "bu/fstring.h"

#define pSize( t ) printf("%15s: %db\n", #t, sizeof( t ) );

int main()
{
	typedef Bu::Hash<char, char> charcharHash;
	typedef Bu::Hash<Bu::FString, Bu::FString> strstrHash;
	pSize( Bu::FString );
	pSize( charcharHash );
	pSize( strstrHash );
}