From f01674e99a467e9eb99323130a1e1add4c57eda2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 14 Aug 2009 21:22:03 +0000 Subject: Massive freaking changes!!! Bu:;SharedCore actually is in and works, it's well tested and there are no known memory leaks or violations as of now. It's been applied to Bu::List and Bu::FBasicString so far. This means that everything using Bu::List and Bu::FBasicString will be much, much faster and use considerably less memory. I still have plans to apply this to Hash and maybe a couple of other core classes. --- src/unit/fstring.unit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/unit') diff --git a/src/unit/fstring.unit b/src/unit/fstring.unit index 7314095..40b1ce2 100644 --- a/src/unit/fstring.unit +++ b/src/unit/fstring.unit @@ -39,11 +39,11 @@ { Bu::FString a("Hey there"); Bu::FString b( a ); - unitTest( a.getStr() == b.getStr() ); + unitTest( a.getConstStr() == b.getConstStr() ); b += " guy"; - unitTest( a.getStr() != b.getStr() ); + unitTest( a.getConstStr() != b.getConstStr() ); a = b; - unitTest( a.getStr() == b.getStr() ); + unitTest( a.getConstStr() == b.getConstStr() ); } {%insert} -- cgit v1.2.3