Click here to Skip to main content
15,922,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: Flops Pin
Rick van Woudenberg4-Apr-08 10:25
Rick van Woudenberg4-Apr-08 10:25 
GeneralRe: Flops Pin
led mike4-Apr-08 11:11
led mike4-Apr-08 11:11 
GeneralRe: Flops Pin
Zoltan Balazs4-Apr-08 11:20
Zoltan Balazs4-Apr-08 11:20 
GeneralRe: Flops Pin
MidwestLimey4-Apr-08 12:10
professionalMidwestLimey4-Apr-08 12:10 
GeneralRe: Flops Pin
MidwestLimey4-Apr-08 12:12
professionalMidwestLimey4-Apr-08 12:12 
GeneralRe: Flops Pin
MidwestLimey4-Apr-08 12:12
professionalMidwestLimey4-Apr-08 12:12 
GeneralRe: Flops Pin
MidwestLimey4-Apr-08 12:13
professionalMidwestLimey4-Apr-08 12:13 
GeneralRe: Flops Pin
Guffa4-Apr-08 17:11
Guffa4-Apr-08 17:11 
when passing the information from method to method, an arraylist is not the most efficient taking up to 60,000 flops to pass the information therefore arrays are faster.


That's not only wrong, it's also wrong. Wink | ;)

When passing information to a method, it takes exactly the same time to pass an Array as an ArrayList. They are both objects, so what you pass to the method is a reference to the object. A reference is just a pointer, so on a 32 bit system it's only four bytes to copy.

Whatever you do with an ArrayList, there are no floating point operations going on. You could say that an operation would use the equivalent of 60000 flops, but it's hardly useful to measure operations that doesn't use floating point operations in flops.

Also, there are so much more to consider than the raw processor load. You have so many other factors that affect the performance, like cache sizes, memory bandwidth, data bus width, data aligning, instruction pairing... And there are also other things to consider than just performance, like robustness and scalability.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Flops Pin
MidwestLimey4-Apr-08 19:03
professionalMidwestLimey4-Apr-08 19:03 
QuestionHow to make a bitmap image cover part of a picturebox control? Pin
KaKa'4-Apr-08 7:51
KaKa'4-Apr-08 7:51 
AnswerRe: How to make a bitmap image cover part of a picturebox control? Pin
CodingYoshi4-Apr-08 8:06
CodingYoshi4-Apr-08 8:06 
AnswerRe: How to make a bitmap image cover part of a picturebox control? Pin
KaptinKrunch4-Apr-08 8:09
KaptinKrunch4-Apr-08 8:09 
GeneralUser Validation Error Pin
MumbleB4-Apr-08 7:47
MumbleB4-Apr-08 7:47 
GeneralRe: User Validation Error Pin
CodingYoshi4-Apr-08 8:02
CodingYoshi4-Apr-08 8:02 
GeneralRe: User Validation Error Pin
MumbleB4-Apr-08 8:07
MumbleB4-Apr-08 8:07 
GeneralRe: User Validation Error Pin
Pete O'Hanlon4-Apr-08 8:49
mvePete O'Hanlon4-Apr-08 8:49 
QuestionPoint & Pixel Pin
nike_arh4-Apr-08 7:27
nike_arh4-Apr-08 7:27 
GeneralRe: Point & Pixel Pin
KaptinKrunch4-Apr-08 7:32
KaptinKrunch4-Apr-08 7:32 
GeneralRe: Point & Pixel Pin
nike_arh4-Apr-08 7:51
nike_arh4-Apr-08 7:51 
General.NET Remoting Pin
CodingYoshi4-Apr-08 7:21
CodingYoshi4-Apr-08 7:21 
GeneralMD5 checksum on unmanaged array Pin
bnb4-Apr-08 6:52
bnb4-Apr-08 6:52 
GeneralRe: MD5 checksum on unmanaged array Pin
CodingYoshi4-Apr-08 7:34
CodingYoshi4-Apr-08 7:34 
GeneralDisplay ArrayList in ListBox Pin
hbez4-Apr-08 5:40
hbez4-Apr-08 5:40 
GeneralRe: Display ArrayList in ListBox Pin
Luc Pattyn4-Apr-08 5:50
sitebuilderLuc Pattyn4-Apr-08 5:50 
GeneralRe: Display ArrayList in ListBox Pin
phannon864-Apr-08 5:53
professionalphannon864-Apr-08 5:53 

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.