Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

David Mott

@David Mott
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Does anybody really use a Profiler?
    D David Mott

    Always profile. ALWAYS.

    string ret = string.Empty;
    for (int i=0; (i < someLargeInt); i++) {
    ret += AMethodThatReturnsAString (i);
    }
    return ret;

    Compilers are smarter than you. This can be compiled into highly optimized code with loop unrolling and expression templates among other optimizations. The rule of thumb is: 1) write simple, clear, expressive code. 2) profile 3) fix hotspots

    The Lounge csharp database help question visual-studio
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups