Click here to Skip to main content
16,005,552 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: GDI+ damned slow ??? Pin
l3st4rd20-Jun-05 16:08
l3st4rd20-Jun-05 16:08 
GeneralRe: GDI+ damned slow ??? Pin
Christian Graus20-Jun-05 16:14
protectorChristian Graus20-Jun-05 16:14 
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 
l3st4rd wrote:
so why does c# require almost 2 times the time c++ does?
PLEASE check this yourself, let me know if i'm right and also tell me if i'm not correct...


Any .NET code gets compiled from MSIL the first time it is called. To do a proper benchmark, you need to generate the sequence twice, and time the second pass. Every function is compiled when it is first called.

l3st4rd wrote:
you're saying c# and calling GDI+ APIs directly is as fast as c++;

No, I said GDI. GDI is the way things are handled under the hood. HBITMAPs and BitBlt to HDCs.


l3st4rd wrote:
this should really be no offense, i only wanna know for sure how things are...

Not at all offended, glad to help.

Christian Graus - Microsoft MVP - C++
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 
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 

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.