diff --git a/CHANGES.md b/CHANGES.md index 1c0bc825..73133f05 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,24 @@ Done. Can add more callbacks in the future, but this is enough to get the soak t Updated BUILDING.md with information about reliable messages and new soak test. +Make a preview release + +Tested on MacOSX and Linux. Fine. + +Tested on windows. Some minor compile errors to fix up. + +Hold on test.exe runs really slow in debug, what's going on? + +YOJIMBO_ALLOCATE_ARRAY was being used for super-large primitive arrays, and is very slow in debug. + +Removed. Replaced with allocator.Allocate( sizeof(T) * count ) + +Perf is back to normal. + +Fixed some issues with some tests not having enough iterations and very rarely failing under packet loss. + +Really should add a queue test. I broke it and it was hard to track down (breakage only showed up in stress test with 64 clients) + Sunday July 10, 2016 ==================== diff --git a/TODO b/TODO index 331a7560..05f2cdc6 100644 --- a/TODO +++ b/TODO @@ -1,22 +1,3 @@ -DONE - - Make a preview release - - Tested on MacOSX and Linux. Fine. +DONE TODO - - Tested on windows. Some minor compile errors to fix up. - - Hold on test.exe runs really slow in debug, what's going on? - - YOJIMBO_ALLOCATE_ARRAY was being used for super-large primitive arrays, and is very slow in debug. - - Removed. Replaced with allocator.Allocate( sizeof(T) * count ) - - Perf is back to normal. - - Fixed some issues with some tests not having enough iterations and very rarely failing under packet loss. - - Really should add a queue test. I broke it and it was hard to track down (breakage only showed up in stress test with 64 clients) - diff --git a/yojimbo_message.h b/yojimbo_message.h index 17a44b19..78fa57b1 100644 --- a/yojimbo_message.h +++ b/yojimbo_message.h @@ -29,6 +29,8 @@ namespace yojimbo { + // todo: wrap message magic with #if YOJIMBO_MESSAGE_MAGIC and have it off by default + const int MessageMagic = 0x12345; class Message : public Serializable @@ -148,15 +150,12 @@ namespace yojimbo Allocator * m_allocator; - int num_allocated_messages; - int m_numTypes; public: MessageFactory( Allocator & allocator, int numTypes ) { - num_allocated_messages = 0; m_allocator = &allocator; m_numTypes = numTypes; }