Click here to Skip to main content
11,478,174 members (70,616 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Beating the compiler Pin
Ron Beyer14-Jun-13 13:00
professionalRon Beyer14-Jun-13 13:00 
GeneralRe: Beating the compiler Pin
Big Daddy Farang14-Jun-13 13:06
memberBig Daddy Farang14-Jun-13 13:06 
GeneralRe: Beating the compiler Pin
Ron Beyer14-Jun-13 13:17
professionalRon Beyer14-Jun-13 13:17 
GeneralRe: Beating the compiler Pin
Big Daddy Farang14-Jun-13 13:20
memberBig Daddy Farang14-Jun-13 13:20 
GeneralRe: Beating the compiler Pin
_Maxxx_14-Jun-13 14:09
member_Maxxx_14-Jun-13 14:09 
GeneralRe: Beating the compiler Pin
Ron Beyer14-Jun-13 14:14
professionalRon Beyer14-Jun-13 14:14 
GeneralRe: Beating the compiler Pin
jschell17-Jun-13 9:29
memberjschell17-Jun-13 9:29 
GeneralRe: Beating the compiler Pin
Ron Beyer17-Jun-13 9:36
professionalRon Beyer17-Jun-13 9:36 
The point isn't this particular piece of code, its the comment about optimizing a short piece of code. Just because the code is short, doesn't mean it isn't expensive. String operations can be very expensive, especially in languages that intern strings. Even if this was written in assembly optimization isn't something that should be ignored because the code is trivial.
GeneralRe: Beating the compiler Pin
Jörgen Andersson15-Jun-13 9:03
professionalJörgen Andersson15-Jun-13 9:03 
GeneralRe: Beating the compiler Pin
PIEBALDconsult14-Jun-13 17:42
professionalPIEBALDconsult14-Jun-13 17:42 
GeneralRe: Beating the compiler Pin
BillWoodruff14-Jun-13 21:39
memberBillWoodruff14-Jun-13 21:39 
GeneralRe: Beating the compiler Pin
Klaus-Werner Konrad15-Jun-13 13:07
memberKlaus-Werner Konrad15-Jun-13 13:07 
GeneralRe: Beating the compiler Pin
BillWoodruff15-Jun-13 16:57
memberBillWoodruff15-Jun-13 16:57 
GeneralRe: Beating the compiler Pin
A. A. J. Rodriguez17-Jun-13 4:33
memberA. A. J. Rodriguez17-Jun-13 4:33 
GeneralRe: Beating the compiler Pin
ahmed zahmed16-Jun-13 7:18
memberahmed zahmed16-Jun-13 7:18 
GeneralRe: Beating the compiler Pin
BillWoodruff16-Jun-13 16:21
memberBillWoodruff16-Jun-13 16:21 
GeneralRe: Beating the compiler Pin
Jeremy Hutchinson17-Jun-13 3:19
memberJeremy Hutchinson17-Jun-13 3:19 
GeneralRe: Beating the compiler Pin
Ron Beyer17-Jun-13 6:04
professionalRon Beyer17-Jun-13 6:04 
GeneralRe: Beating the compiler Pin
Jeremy Hutchinson17-Jun-13 6:13
memberJeremy Hutchinson17-Jun-13 6:13 
GeneralRe: Beating the compiler Pin
irneb18-Jun-13 0:12
memberirneb18-Jun-13 0:12 
GeneralRe: Beating the compiler Pin
jschell14-Jun-13 13:05
memberjschell14-Jun-13 13:05 
GeneralRe: Beating the compiler Pin
harold aptroot14-Jun-13 13:22
memberharold aptroot14-Jun-13 13:22 
GeneralRe: Beating the compiler Pin
Cornelius Henning14-Jun-13 15:08
memberCornelius Henning14-Jun-13 15:08 
GeneralRe: Beating the compiler Pin
ahmed zahmed16-Jun-13 7:45
memberahmed zahmed16-Jun-13 7:45 
GeneralRe: Beating the compiler Pin
harold aptroot16-Jun-13 8:41
memberharold aptroot16-Jun-13 8:41 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid