2d56e06cff
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 |
||
---|---|---|
.. | ||
CachedFactory | ||
Checker | ||
CheckReturn | ||
DeletableSingleton | ||
Factory | ||
flex_string | ||
Function | ||
LevelMutex | ||
LockingPtr | ||
Longevity | ||
OrderedStatic | ||
Pimpl | ||
Register | ||
RegressionTest | ||
SafeBits | ||
SafeFormat | ||
ScopeGuard | ||
Singleton | ||
SingletonDll | ||
SmallObj | ||
SmartPtr | ||
Visitor | ||
make.msvc.bat | ||
Makefile | ||
Makefile.common |