Loki/test/flex_string
jfbastien 2d56e06cff Add a small string optimization test with a buffer of 126.
Cache size() outside the loop for RandomString.
Modify Num2String so that npos is properly taken into account.
Add Tristate2String.
Modify seedForThisIteration so that its value is count + rand() instead of just rand(): using just rand meant that a lot of the initial seeds repeated because the pseudo-randomness of rand isn't good. Adding count should somewhat reduce the repetitions.
I'd consider using another random number generator, rand() is slow and has a bad distribution.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@999 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 21:09:20 +00:00
..
flex_string.cbp Adding Code::Blocks project file to Loki. 2008-06-26 06:31:25 +00:00
flex_string.vcproj Upgraded project file to MSVC 9. 2008-07-23 07:54:02 +00:00
flex_string_MSVC9.vcproj Added OutputFile path. 2009-01-31 07:34:35 +00:00
flex_string_MSVC_8.vcproj Adding MSVC 8 files to Loki. 2008-07-23 02:12:05 +00:00
main.cpp Add a small string optimization test with a buffer of 126. 2009-03-05 21:09:20 +00:00
make.msvc.bat svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00
Makefile svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00