|
|
Browse by Tags
All Tags » code
-
Tuning the garbage collector to the specific context of the particular application can significantly improve the performance of both non-threaded and multithreaded applications. In this post I discuss the gcConcurrent and gcServer settings which allow you to exercise some control how the garbage collector operates.
Articles in This Series
Part ...
-
I have a new CodeProject article up which details how to make a Debugger Visualizer in the case where you need to custom serialize the object. The actual classes I build in the tutorial are only useful with our DotImage project line. However, the process of creating a Custom Serializer should be useful to any .NET ...
-
Synopsis
I gave an hour long talk today, here at Atalasoft, on Concurrency in F#. It featured some slides and a small ant colony simulation to demonstrate different kinds of threading. Overall, I liked developing in F# quite a bit; however, puzzling through the interpreter errors was a brutal process indeed.
You can grab my ...
-
In the previous article I discussed a few of the benefits of stack allocation as well as a couple of C# keywords which help you to leverage those benefits. However, the one megabyte default stack size is too small for stack allocation to be used with a large dataset. Alternatively, in some threading situations one megabyte per thread/fiber can ...
-
Articles in This Series
Part 1 – Basic Housekeeping
Part 2 – Improving Performance Through Stack Allocation
Part 3 – Increasing the Size of your Stack
Part 4 – Choosing the Right Garbage Collector Settings
Introduction
In C#, when you create managed objects or arrays of value types, they are created on the Heap and you are passed ...
-
There are a great number of different ways to count the number of processors available to the .NET developer. In this post I will go over some of the more common methods and their pros and cons.
The Envirionment.ProcessorCount Way
Code:
Environment.ProcessorCount;
Supported Platforms:
Windows 98 Or Greater, .NET 2.0 or ...
-
One of the most often cited reasons to not use .NET is that it is initially compiled to an intermediary language (MSIL) and has to be recompiled every time you run it. In many high performance environments this wasted time is simply unacceptable. To combat this Microsoft released a tool with .NET 1.1 called NGen (Native Image Generator) which ...
-
Lets say you had a TIFF 6.0 file and you wanted it to be recognized as a DNG (Adobe Digital Negative) for some particular reason. This seems like it should be trivially easy to do with the DotImage TiffFile framework.
As far as I knew, there were only two caveats:
The image must be in a 8 to 32 bit pixel format.The image must use Lossless Jpeg, ...
|
|
|