aboutsummaryrefslogtreecommitdiff
path: root/src/tests/size.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/size.cpp')
-rw-r--r--src/tests/size.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/size.cpp b/src/tests/size.cpp
new file mode 100644
index 0000000..be13b69
--- /dev/null
+++ b/src/tests/size.cpp
@@ -0,0 +1,13 @@
1#include "bu/hash.h"
2#include "bu/fstring.h"
3
4#define pSize( t ) printf("%15s: %db\n", #t, sizeof( t ) );
5
6int main()
7{
8 typedef Bu::Hash<char, char> charcharHash;
9 typedef Bu::Hash<Bu::FString, Bu::FString> strstrHash;
10 pSize( Bu::FString );
11 pSize( charcharHash );
12 pSize( strstrHash );
13}