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
  1. Home
  2. Other Discussions
  3. The Insider News
  4. Improving .NET performance by reducing memory usage

Improving .NET performance by reducing memory usage

Scheduled Pinned Locked Moved The Insider News
performancecsharpcomalgorithmsquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    InfoQ[^]:

    A commonly misunderstood concept in .NET performance tuning is the importance of avoiding memory allocations. It is thought that since memory allocations are fast, that they rarely if ever have an impact on performance.

    Did I post this before? I forget.

    (That's a memory joke, son)

    Sander RosselS 1 Reply Last reply
    0
    • K Kent Sharkey

      InfoQ[^]:

      A commonly misunderstood concept in .NET performance tuning is the importance of avoiding memory allocations. It is thought that since memory allocations are fast, that they rarely if ever have an impact on performance.

      Did I post this before? I forget.

      (That's a memory joke, son)

      Sander RosselS Offline
      Sander RosselS Offline
      Sander Rossel
      wrote on last edited by
      #2

      "Premature optimization is the root of all evil" - Donald Knuth I'm certainly not looking forward to maintaining any code that was written by someone who thought I'd be a good idea to create a cryptic mess to save some bytes... Unless, you know, it really actually matters.

      Best, Sander Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

      J F 2 Replies Last reply
      0
      • Sander RosselS Sander Rossel

        "Premature optimization is the root of all evil" - Donald Knuth I'm certainly not looking forward to maintaining any code that was written by someone who thought I'd be a good idea to create a cryptic mess to save some bytes... Unless, you know, it really actually matters.

        Best, Sander Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

        J Offline
        J Offline
        Jagger B
        wrote on last edited by
        #3

        Yap, that VB code performs well. End Sub

        1 Reply Last reply
        0
        • Sander RosselS Sander Rossel

          "Premature optimization is the root of all evil" - Donald Knuth I'm certainly not looking forward to maintaining any code that was written by someone who thought I'd be a good idea to create a cryptic mess to save some bytes... Unless, you know, it really actually matters.

          Best, Sander Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly

          F Offline
          F Offline
          Franc Morales
          wrote on last edited by
          #4

          Indeed. Profilers were invented for a reason.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

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