¡@

Home 

c# Programming Glossary: optimisations

Determine the number of lines within a text file

http://stackoverflow.com/questions/119559/determine-the-number-of-lines-within-a-text-file

in it. It's possible that ReadAllLines has some internal optimisations but on the other hand it may have to allocate a massive chunk..

C# byte array comparison issue

http://stackoverflow.com/questions/1389570/c-sharp-byte-array-comparison-issue

with this layout style just for a change... This has a few optimisations which SequenceEqual can't or doesn't perform such as the up..

Why .NET String is immutable? [duplicate]

http://stackoverflow.com/questions/2365272/why-net-string-is-immutable

x entails a change to y allows for considerable compiler optimisations. Memory saving optimisations are also possible. Interning and.. for considerable compiler optimisations. Memory saving optimisations are also possible. Interning and atomising being the most obvious..

How do you find the caller function? [duplicate]

http://stackoverflow.com/questions/280413/how-do-you-find-the-caller-function

.GetMethod .Name However this is not robust especially as optimisations such as JIT inlining can monkey with the perceived stack frames...

What is the “volatile” keyword used for?

http://stackoverflow.com/questions/3430757/what-is-the-volatile-keyword-used-for

of the program itself. The compiler will then avoid any optimisations that may result in problems if the variable changes outside..

How to do joins in LINQ on multiple fields in single join

http://stackoverflow.com/questions/373541/how-to-do-joins-in-linq-on-multiple-fields-in-single-join

equivalent really so it's just a matter of the optimisations available. Equijoins provide simple optimisation in LINQ to..

Why is (double)0.6f > (double)(6/10f)?

http://stackoverflow.com/questions/3748768/why-is-double0-6f-double6-10f

in this particular way is beyond me fyi this is all with optimisations turned off Some interesting other cases Code var a 0.6 var b..

At what level C# compiler or JIT optimize the application code?

http://stackoverflow.com/questions/650652/at-what-level-c-sharp-compiler-or-jit-optimize-the-application-code

. Focus on getting your code working then worry about optimisations later on if a it doesn't run fast enough b you have 'size' issues...

High performance graphics using the WPF Visual layer

http://stackoverflow.com/questions/8713864/high-performance-graphics-using-the-wpf-visual-layer

of objects at speed. You are free to implement your own optimisations multi threading level of detail but do note you don't get much..