February 2009 - Posts

17 February 2009
MethodInfo.Invoke vs MethodCall Performance on DynamicMethods
I posted a question on cvega ’s article on using CIL getters and setters to speed up the execution of heavily reflection-based code asking which one will perform better using DynamicMethod.Invoke or using DynamicMethod.CreateDelegate then calling that delegate. On which he promptly replied. But... Read More...
03 February 2009
Threading Patterns: Producer-Consumer Pattern Examples
This is the third installment to my series of posts about threading patterns. Today we will look into familiar scenarios where we can apply the producer-consumer pattern particularly applications of the ThreadedQueueBase<T> class. Usage Pattern Note that the threaded queue classes that I provided... Read More...