Meeting the needs of your business from a distance

C# 4.0 and dynamic performance

by Mark Shiffer 30. June 2009 13:52

I read a blog post recently where someone wrote a simple test app that used 3 different methods to set a property of a class 1000 times and tracked the overall performance. The results were a bit eye-popping:

  • Reflection: 20 seconds
  • Dynamics: .6 second
  • Normal Property Setter: .01 second

Dynamics appear to offer a significant performance boost over reflection. Of course, it could/will vary with regard to how dynamic is used. I work with an application that uses a great deal of reflection and I’m interested to see how I might be able to switch it over to using dynamic more and see if I can boost performance.

Tags:

Programming

Bing! My new default search engine.

by Mark Shiffer 12. June 2009 20:36

So I’ve been using Bing exclusively for a few weeks now and I must say that I am impressed. Here’s my run down:

  • The search results are as good, if not better than Google.
  • Bing has less intrusive advertising cluttering the screens on most searches than Google does.
  • Bing seems to be smarter about the user’s query. It correctly interprets the intent of the search and provides quick information and related searches on many topics.
  • The kicker for me though is the infinite scroll that Bing does on image searches. I love me some infinite scroll! Clicking through pages of results is not fun at all. I wish they would do that on regular searches too.
  • I’m not really in to frilly lace type features, but the intelligent background images provided on Bing are cool. As you hover over certain areas of the image, information about the image/place/etc… is provided.

I’m a fan, and I think Bing has won me over for my default search engine. The technical queries that I have thrown at it have all gotten me where I need to go. Honestly, I think they have out done Google here. Only time will tell if they can make a dent in Google’s stranglehold of the market though.

Tags:

Websites

Copyright © 2001-2010 MS Consulting, Inc. All Rights Reserved.