Click here to Skip to main content
15,924,367 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd20-Jun-05 16:21
l3st4rd20-Jun-05 16:21 
GeneralRe: GDI+ damned slow ??? Pin
Robert Rohde21-Jun-05 0:45
Robert Rohde21-Jun-05 0:45 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 12:59
protectorChristian Graus21-Jun-05 12:59 
GeneralRe: GDI+ damned slow ??? Pin
Robert Rohde21-Jun-05 20:02
Robert Rohde21-Jun-05 20:02 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 15:51
l3st4rd21-Jun-05 15:51 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 16:25
protectorChristian Graus21-Jun-05 16:25 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 17:07
l3st4rd21-Jun-05 17:07 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 17:13
protectorChristian Graus21-Jun-05 17:13 
l3st4rd wrote:
does any end-user take care to run any piece of program twice before he shouts out "hey, this is crap! it's way too slow!" ?

Most code gets executed many, many times in one use of a program. So, the cost is not that bad. But it IS a cost that needs to be considered. Or you can use NGen to run a precompiled executable and avoid this cost. However, the idea is that the .NET compiler can compile code optimised for your processor, etc.

l3st4rd wrote:
the algorithm i checked out was highly recursive. so isn't the appropriate function compiled the first time it is called and afterwards only the generated machine code beeing called?

Good point - in this case, it may not make much difference to the result. But it would still make some... (clutching at straws). I'm not here to defend C# at all costs, C++ is better at somethings, for sure. I'm a C++ MVP, for goodness sakes. Smile | :) I just want to make sure you are making a fair comparison.


Christian Graus - Microsoft MVP - C++
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 17:45
l3st4rd21-Jun-05 17:45 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 17:47
protectorChristian Graus21-Jun-05 17:47 
GeneralRe: GDI+ damned slow ??? Pin
Robert Rohde21-Jun-05 20:07
Robert Rohde21-Jun-05 20:07 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd22-Jun-05 6:45
l3st4rd22-Jun-05 6:45 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 14:30
l3st4rd21-Jun-05 14:30 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 14:32
protectorChristian Graus21-Jun-05 14:32 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 16:08
l3st4rd21-Jun-05 16:08 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 16:29
protectorChristian Graus21-Jun-05 16:29 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 16:44
l3st4rd21-Jun-05 16:44 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 16:47
protectorChristian Graus21-Jun-05 16:47 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 17:25
l3st4rd21-Jun-05 17:25 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 17:27
protectorChristian Graus21-Jun-05 17:27 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd21-Jun-05 16:46
l3st4rd21-Jun-05 16:46 
AnswerRe: GDI+ damned slow ??? Pin
gr1p21-Jun-05 16:13
sussgr1p21-Jun-05 16:13 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus21-Jun-05 16:30
protectorChristian Graus21-Jun-05 16:30 
GeneralRe: GDI+ damned slow ??? Pin
toxcct23-Jun-05 20:55
toxcct23-Jun-05 20:55 
AnswerRe: GDI+ damned slow ??? Pin
Mathew Hall21-Jun-05 17:39
Mathew Hall21-Jun-05 17:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.