diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-08-14 21:22:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-08-14 21:22:03 +0000 |
commit | f01674e99a467e9eb99323130a1e1add4c57eda2 (patch) | |
tree | 50bfa258b1c5761b2fbbac86d945d981669f27d4 /src/unit/fstring.unit | |
parent | 42f4f849c683bc30404727f4dccc9d3cfd030adf (diff) | |
download | libbu++-f01674e99a467e9eb99323130a1e1add4c57eda2.tar.gz libbu++-f01674e99a467e9eb99323130a1e1add4c57eda2.tar.bz2 libbu++-f01674e99a467e9eb99323130a1e1add4c57eda2.tar.xz libbu++-f01674e99a467e9eb99323130a1e1add4c57eda2.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/unit/fstring.unit | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
39 | { | 39 | { |
40 | Bu::FString a("Hey there"); | 40 | Bu::FString a("Hey there"); |
41 | Bu::FString b( a ); | 41 | Bu::FString b( a ); |
42 | unitTest( a.getStr() == b.getStr() ); | 42 | unitTest( a.getConstStr() == b.getConstStr() ); |
43 | b += " guy"; | 43 | b += " guy"; |
44 | unitTest( a.getStr() != b.getStr() ); | 44 | unitTest( a.getConstStr() != b.getConstStr() ); |
45 | a = b; | 45 | a = b; |
46 | unitTest( a.getStr() == b.getStr() ); | 46 | unitTest( a.getConstStr() == b.getConstStr() ); |
47 | } | 47 | } |
48 | 48 | ||
49 | {%insert} | 49 | {%insert} |