Time Nick Message 21:36 JDCodeIt Hi all - a performance question in FileCache - any particular reason the buffer size is 1024 on a read? Would performance increase with a larger buffer? FileCache::loadByPath... char buf[1024]; 21:38 sfan5 using e.g. 4096 might increase performance, but not significantly 21:45 JDCodeIt I was also looking at the reconnect speed - joining a world you've already been to. If nothing has changed, is there maybe a shortcut that the protocol could pass along as a first check - such as the SHA1 of a file full of all the SHA1's? This ahead of exchanging all the SHA1's one-by-one to see if any one or more changed. Of course one would need to calculate this SHA1 and associate it with an address/port of the previously visited 21:47 JDCodeIt ...and cache the list of SHA1 21:48 JDCodeIt ...for each connection 21:48 sfan5 sounds like lots of trouble for little gain 21:53 JDCodeIt I increased the FileCache read buffer to 64k and the load off disk changed from 12 seconds to 4 seconds. Relatively significant? 21:55 JDCodeIt Changing from stack-allocated to the heap made no difference 22:05 sfan5 hm, loading a file 1 KB at a time usually isn't that slow 22:05 sfan5 maybe it's the std::ostream it's being pushed into? 22:06 JDCodeIt It's a world with 3000+ inventory items, so it can be a while