[03:04:23] dhw [03:04:33] MersenneTwister isn't implemented yet [03:04:38] but I used like [03:04:44] part of what makes MersenneTwister so good [03:04:55] the excellent random distribution of bits [03:05:07] did you make your own rng or implement one? [03:05:08] want a quick benchmark? :) [03:05:12] sure [03:05:23] void RandEngine::NextState() [03:05:23] { [03:05:23] m_currentState *= 1103515245; [03:05:23] m_currentState += 12345; [03:05:23] } [03:05:29] That's the simple rand() style thing [03:05:35] I'm not sure which compiler uses that [03:05:55] but 39,063kb -> 10,602kb (ish) [03:05:56] hm [03:06:04] about 27% size [03:06:10] now, with the following: [03:06:17] void MersenneTwisterEngine::NextState() [03:06:17] { [03:06:17] m_currentState ^= m_currentState << 11; [03:06:17] m_currentState ^= m_currentState >> 7; [03:06:17] m_currentState ^= m_currentState >> 15; [03:06:17] m_currentState ^= m_currentState << 18; [03:06:17] } [03:06:37] 39,063kb -> 39,063kb with winrar standard compression lol [03:07:07] It couldn't pack it by a single byte ;p [03:07:20] or if it could, the overhead of the lookup table evidently outweighed compressing lol [03:07:45] Now to attempt higher compression :) sec