Jump to content

Talk:Modifying an existing level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 188: Line 188:


'''Performance'''
'''Performance'''
 
<!--oops, second test session...-->
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
|-
|-
! Program !! Onisplit C# (.NET Framework 4) !! Onisplit C# (.NET 10) !! Onisplit VB (.NET 10)
! Program !! Onisplit C# (.NET Framework 4) !! Onisplit C# (.NET 10) !! Onisplit VB (.NET 10)
|-
|-
| Speed || 8.509 ms || 8.327 ms || 8.491 ms
| Speed || 7.189 ms || 7.007 ms || 5.990 ms
|-
|-
| Peak RAM usage || 57,36 MB || 108,88 MB || 1.370,37 MB (lol, but still slightly faster than the original)
| Peak RAM usage || 1.144,16 MB || 143,82 MB || 62,38 MB
|}
|}
Who would have thought that VB performes so well against C#. (At least for the export.) That both .NET10 builds are more memory friendly makes sense as both are newer and therefore more efficient.


====Notes on VB====
====Notes on VB====
Looks like the VB version was only partial successful:
Looks like the VB version build was only partial successful:
* DAT exports with identical oni files.
* DAT exports with identical oni files.
* XML extraction and propably other file types and conversions need additional fixing.
* XML extraction and propably other file types and conversions need additional fixing.


Furthermore, for serious usage the VB version requires more testing and memory optimaziations.
For serious usage the VB version requires more testing and bug fixing for non-export ops.


At this point, it is probably best to simply continue with the more modern C# .NET10 build.
But timewise, it is probably best to simply continue with the C# .NET10 build.


====Notes on C# (.NET 10)====
====Notes on C# (.NET 10)====
Currently, XML is exported with slightly less accuracy: Doubles are rounded to 6 instead of 7 digits after the decimal separator.
Currently, XML is exported with slightly less accuracy: Doubles are rounded to 6 instead of 7 digits after the decimal separator.
8,963

edits