Click here to Skip to main content
15,910,358 members
Home / Discussions / C#
   

C#

 
GeneralRe: lock() and Thread.Interrupt() Pin
Jon Hulatt11-Jul-06 3:11
Jon Hulatt11-Jul-06 3:11 
AnswerRe: lock() and Thread.Interrupt() Pin
Aaron Dilliard11-Jul-06 4:02
Aaron Dilliard11-Jul-06 4:02 
AnswerRe: lock() and Thread.Interrupt() Pin
Judah Gabriel Himango11-Jul-06 4:48
sponsorJudah Gabriel Himango11-Jul-06 4:48 
AnswerRe: lock() and Thread.Interrupt() Pin
led mike11-Jul-06 5:12
led mike11-Jul-06 5:12 
QuestionQuestion about subtract Time in c# ( IDE 2005 ) Pin
Yanshof11-Jul-06 0:10
Yanshof11-Jul-06 0:10 
AnswerRe: Question about subtract Time in c# ( IDE 2005 ) Pin
Shajeel11-Jul-06 0:28
Shajeel11-Jul-06 0:28 
GeneralIts not working .Someone can help please ? Pin
Yanshof11-Jul-06 1:06
Yanshof11-Jul-06 1:06 
GeneralRe: Its not working .Someone can help please ? Pin
Christian Graus11-Jul-06 1:16
protectorChristian Graus11-Jul-06 1:16 
GeneralRe: Its not working .Someone can help please ? Pin
Sebastian Schneider11-Jul-06 1:27
Sebastian Schneider11-Jul-06 1:27 
GeneralRe: Its not working .Someone can help please ? Pin
Yanshof11-Jul-06 1:35
Yanshof11-Jul-06 1:35 
GeneralRe: Its not working .Someone can help please ? [modified] Pin
Shajeel11-Jul-06 1:42
Shajeel11-Jul-06 1:42 
GeneralRe: Its not working .Someone can help please ? Pin
J4amieC11-Jul-06 1:59
J4amieC11-Jul-06 1:59 
QuestionMono Pin
mehrdadc4811-Jul-06 0:08
mehrdadc4811-Jul-06 0:08 
AnswerRe: Mono Pin
Sebastian Schneider11-Jul-06 1:15
Sebastian Schneider11-Jul-06 1:15 
AnswerRe: Mono Pin
User 665811-Jul-06 4:37
User 665811-Jul-06 4:37 
GeneralRe: Mono Pin
User 171649211-Jul-06 5:30
professionalUser 171649211-Jul-06 5:30 
Questionadding custom menu items to axwebbrouser Context menu [modified] Pin
hari.la10-Jul-06 23:56
hari.la10-Jul-06 23:56 
AnswerRe: adding custom menu items to axwebbrouser Context menu Pin
Nick Parker11-Jul-06 3:43
protectorNick Parker11-Jul-06 3:43 
AnswerRe: adding custom menu items to axwebbrouser Context menu Pin
Jun Du11-Jul-06 4:40
Jun Du11-Jul-06 4:40 
QuestionFast algoritme Pin
blimp8210-Jul-06 23:23
blimp8210-Jul-06 23:23 
AnswerRe: Fast algoritme Pin
Guffa10-Jul-06 23:36
Guffa10-Jul-06 23:36 
The code that you show will compile into something like eight machine code instructions. The execution time is hardly even going to be measurable.

You could rewrite it using assembly language. There is a slight chance that you could use the fact that the operations are using the same operands, so that you could shove both the operands onto the FPU stack and use them for both the operations.

Anyway, if the program is slow, it's not because of the code that you are showing.

---
b { font-weight: normal; }

AnswerRe: Fast algoritme Pin
Deflinek10-Jul-06 23:52
Deflinek10-Jul-06 23:52 
GeneralRe: Fast algoritme Pin
blimp8211-Jul-06 3:32
blimp8211-Jul-06 3:32 
AnswerRead Wiki Pin
Ennis Ray Lynch, Jr.11-Jul-06 6:11
Ennis Ray Lynch, Jr.11-Jul-06 6:11 
QuestionPassing Message from unmanaged dll to C# Windows Service Pin
Rashid.Mahmood10-Jul-06 22:19
Rashid.Mahmood10-Jul-06 22:19 

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.