Faster CSharp
From Logic Wiki
Revision as of 09:49, 20 June 2017 by AliIybar (Talk | contribs) (Created page with "Category:CSharp Category:Tests Category:Performance [https://vimeo.com/221873129 https://vimeo.com/221873129] ------------------------------ == TryParse == Using...")
TryParse
Using TryParse instead of Parse in Try Catch is 100 times faster.
String modification
B:1ms
C:0ms
Arrays
fewer dimensions are faster
Struct vs Class
after running 1000000 iterations
Struct is 6ms, class is 111ms and finalized class is 246ms