1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is new & free in CLR heap fast?

Discussion in 'C#' started by Hyun-jik-Bae, Sep 29, 2006.

  1. Hyun-jik-Bae

    Hyun-jik-Bae New Member

    Sep 29, 2006
    Likes Received:
    Trophy Points:
    I am a newbie in C# programming. I've been working in C++ language for some years.
    The new/delete statement in C++ is rather slow so it is recommended using static data structure in some cases which require very fast performance as you know. However, there's no way but using value type class in C# for avoiding heap access as far as I know. I think C# is very slow unless it has something which enables CLR very fast in accessing CLR heap memory.

    The best way is to just test the new/delete performance of C# by myself, however, it is very difficult testing every case I can imagine. Please reply. Thanks in advance.

    Hyun-jik Bae

Share This Page