Click here to Skip to main content
15,886,137 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia10-Dec-13 20:36
professionalArgonia10-Dec-13 20:36 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 2:27
mveRichard Deeming11-Dec-13 2:27 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff11-Dec-13 3:00
mveOriginalGriff11-Dec-13 3:00 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 3:27
mveRichard Deeming11-Dec-13 3:27 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff11-Dec-13 3:46
mveOriginalGriff11-Dec-13 3:46 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia11-Dec-13 3:57
professionalArgonia11-Dec-13 3:57 
GeneralRe: Yes I know it was me who wrote that... Pin
OriginalGriff11-Dec-13 4:57
mveOriginalGriff11-Dec-13 4:57 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia11-Dec-13 5:04
professionalArgonia11-Dec-13 5:04 
The results i pasted was with "Any CPU"
x64
1000
1000
1000
5363:2199:5338

x86
1000
1000
1000
4530:2305:4519

Visual studio Premium 2012 version 11 with Update 3, Win7/64, .NET 4.5.50709 to be exact

Anyway i don't see how he gets ~14 seconds for String.Equals

P.S i should say i have problems with my hard at work. I am waiting for it to die. This also can affect the pasted data. I wonder what the results will be with reading from SSD
Note to myself : seconds comes after milliseconds not minutes. Stupid
Microsoft ... the only place where VARIANT_TRUE != true


modified 11-Dec-13 11:18am.

GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 5:13
mveRichard Deeming11-Dec-13 5:13 
GeneralRe: Yes I know it was me who wrote that... Pin
Argonia11-Dec-13 5:16
professionalArgonia11-Dec-13 5:16 
GeneralRe: Yes I know it was me who wrote that... Pin
Rob Grainger17-Dec-13 1:30
Rob Grainger17-Dec-13 1:30 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming11-Dec-13 4:09
mveRichard Deeming11-Dec-13 4:09 
GeneralRe: Yes I know it was me who wrote that... Pin
Jörgen Andersson11-Dec-13 20:16
professionalJörgen Andersson11-Dec-13 20:16 
GeneralRe: Yes I know it was me who wrote that... Pin
ledtech320-Dec-13 15:13
ledtech320-Dec-13 15:13 
GeneralRe: Yes I know it was me who wrote that... Pin
Vladimir Svyatski15-Jan-14 10:37
professionalVladimir Svyatski15-Jan-14 10:37 
GeneralRe: Yes I know it was me who wrote that... Pin
phil.o12-Dec-13 23:03
professionalphil.o12-Dec-13 23:03 
GeneralRe: Yes I know it was me who wrote that... Pin
Nagy Vilmos12-Dec-13 23:27
professionalNagy Vilmos12-Dec-13 23:27 
GeneralRe: Yes I know it was me who wrote that... Pin
Richard Deeming13-Dec-13 1:36
mveRichard Deeming13-Dec-13 1:36 
GeneralRe: Yes I know it was me who wrote that... Pin
Nicholas Marty18-Dec-13 4:12
professionalNicholas Marty18-Dec-13 4:12 
GeneralDays Of Week Pin
Mohamad M. Mohamad29-Nov-13 22:10
Mohamad M. Mohamad29-Nov-13 22:10 
GeneralRe: Days Of Week Pin
Marco Bertschi29-Nov-13 23:54
protectorMarco Bertschi29-Nov-13 23:54 
GeneralRe: Days Of Week Pin
Mohamad M. Mohamad30-Nov-13 0:09
Mohamad M. Mohamad30-Nov-13 0:09 
GeneralRe: Days Of Week Pin
Marco Bertschi30-Nov-13 0:14
protectorMarco Bertschi30-Nov-13 0:14 
GeneralRe: Days Of Week Pin
Mohamad M. Mohamad30-Nov-13 0:19
Mohamad M. Mohamad30-Nov-13 0:19 
GeneralRe: Days Of Week Pin
Marco Bertschi30-Nov-13 0:37
protectorMarco Bertschi30-Nov-13 0:37 

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.