jokiz
(x-a)(x-b)(x-c)...(x-z)
Browse by Tags
All Tags
»
performance
(
RSS
)
.NET
C
C#
CLR
windows forms
Misconception on the efficient for loop
Published 04-29-2006 12:21 PM |
jokiz
I have posted an entry on my blog on how to have an efficient for loops by storing the length before the loop rather than having indirections on the bound checks (which are always executed in the c world). I just read Brad Adams post which confirms that...
avoid P/INVOKE or COM Interop if possible
Published 02-09-2006 6:09 PM |
jokiz
i was debugging this activex control used in my current project when i bumped into this wrapper class for an interop with kernel32.dll methods. after browsing the documentation, it says that the following functions are provided for win16 support. how...
IS and AS operator
Published 06-11-2005 6:04 PM |
jokiz
Boxing and unboxing in C# has a performance cost and the use of the IS and AS operator in casting objects is trivial for me. I thought before that: [code language="C#"] if (boxed is Person) { Person unboxed = boxed as Person; //do something } [/code]...
Disabling method inlining of the CLR
Published 04-01-2005 3:25 PM |
jokiz
I am currently reading Richard Grimes’ Fusion WorkShop and in the article he talks about method inlining used by the runtime to optimize execution. I have read this behavior of the CLR but I have never read a way on how to disable this, until he suggested...
Efficient For Loop
Published 03-17-2005 7:13 PM |
jokiz
[code language="C#"] for (int i = 0; i < collection.Count; i++) { //do something with collection } [/code] I’ve done this before and for me, the efficient way is to store the Count property of the collection rather than access it everytime for the...
Search
Go
This Blog
Home
Contact
Tags
.NET
agile
ASP.NET
blogging
bug
C#
continuous integration
controls
design guidelines
designer
keyboard shortcuts
lokal
mobile
ms word
NHibernate
rants
resharper
SQL
subversion
tdd
techie
tips
version control
visual studio
windows forms
Community
Blogs
Blogs
Media
Forums
Archives
December 2008 (1)
December 2007 (3)
October 2007 (3)
September 2007 (2)
August 2007 (4)
July 2007 (9)
June 2007 (5)
May 2007 (12)
April 2007 (7)
March 2007 (8)
February 2007 (11)
January 2007 (15)
December 2006 (10)
November 2006 (8)
October 2006 (9)
September 2006 (20)
August 2006 (23)
July 2006 (17)
June 2006 (30)
May 2006 (27)
April 2006 (21)
March 2006 (24)
February 2006 (14)
January 2006 (5)
December 2005 (4)
November 2005 (7)
October 2005 (2)
September 2005 (7)
August 2005 (5)
July 2005 (6)
June 2005 (14)
May 2005 (4)
April 2005 (18)
March 2005 (17)
February 2005 (14)
January 2005 (8)
News
Subscribe to jokiz by Email
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go