branchrust_reboot/main/fix_duplicate_ocean_sim_datacancel

3 Commits over 0 Days - ∞cph!

1 Hour Ago
Switch LoadNativeSimData() from reading into a managed array to reading into NativeArray so it doesn't affect heap watermark
1 Hour Ago
Add FileEx.ReadAllBytesNative() that returns a NativeArray<byte> instead of byte[]
2 Hours Ago
Fix the deep sea OceanSimulation loading a 2nd copy of the ocean sim data since they both read the same file from disk - pass in NativeSimData from outside of OceanSimulation instead of reading it inside the constructor - only dispose NativeSimData once when it's shared - saves 80MB