A Filipino Developers Community

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • LED bulbs can slow down your homeplug

    Finally, after more than a month of waiting, StarHub has installed our home fiber optic Internet connection. It's SGD 39.90 monthly for a "max" (a.k.a. best effort) speed of 100 Mbps. I excitedly hurry home, reset the wifi router (which was left open by the technician, and the router admin...
    Posted to cruizer by cruizer on 07-12-2013
    Filed under: Filed under: , , , , , , , , , , , , , ,
  • Practical C# 3: Programmatic Caching

    Caching is the process of storing frequently used data on the server to fulfill subsequent requests. Grabbing objects from memory is always much faster than re-creating the web pages or items contained in them from scratch each time they are requested. Caching increases performance, scalability and availability...
    Posted to AVCajipe's Blog by avcajipe on 06-19-2009
    Filed under: Filed under: , ,
  • 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...
    Posted to jakelite by jakelite on 02-16-2009
    Filed under: Filed under: , , ,
  • Misconception on the efficient for loop

    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 this was a common misconception on c/c++ programmers...
    Posted to jokiz by jokiz on 04-28-2006
    Filed under: Filed under: ,
  • avoid P/INVOKE or COM Interop if possible

    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 come the developer used the following functions? maybe...
    Posted to jokiz by jokiz on 02-09-2006
    Filed under: Filed under: , ,
  • IS and AS operator

    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] is better than [code language="C#"] Person unboxed...
    Posted to jokiz by jokiz on 06-11-2005
    Filed under: Filed under: , ,
  • Disabling method inlining of the CLR

    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 to compile for debug mode. Logical since your...
    Posted to jokiz by jokiz on 03-31-2005
    Filed under: Filed under: , ,
  • Efficient For Loop

    [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 for loop check, lots of indirection involved (I hope...
    Posted to jokiz by jokiz on 03-17-2005
    Filed under: Filed under: , , ,
Page 1 of 1 (8 items)
Copyright DevPinoy 2005-2008