ModernUO/Projects/Server/World
Kamron Batman c2143584bc
fix(core): Fixes BufferWriter Seek and removes World.SaveBuffers (#359)
- [X] Fixes an issue in BufferWriter where if SeekOrigin.End is used, it will yield the wrong index.
- [X] Changes BinaryFileWriter to dispose pattern
- [X] Removes World.SaveBuffers. They were dangerous and should be done in-line while the world is loading, even if it is slower
- [X] Fixes BufferReader Seek too
- [X] Changes BufferWriter to use uninitialized arrays to speed up resizing
- [X] Changes World loading so it doesn't buffer the whole file, even if it makes things slower. It lowers allocations/fragmentation over all which is good.
- [X] Changes World Loading to use uninitialized arrays and directly saves them to the SaveBuffer which eliminates having to open/load the files _again_ which is dangerous. Also looping through items while the world is running is dangerous since async references can and will cause exceptions.

Bumps release version
2020-12-24 14:21:17 -08:00
..
EntityIndex.cs Updates Serialization (#292) 2020-10-31 17:38:29 -07:00
EntityTypeIndex.cs Updates Serialization (#292) 2020-10-31 17:38:29 -07:00
IIndexInfo.cs Updates Serialization (#292) 2020-10-31 17:38:29 -07:00
World.cs fix(core): Fixes BufferWriter Seek and removes World.SaveBuffers (#359) 2020-12-24 14:21:17 -08:00