Click here to Skip to main content
15,906,626 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Mike Hankey5-May-16 4:27
mveMike Hankey5-May-16 4:27 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov PinPopular
Nish Nishant5-May-16 4:28
sitebuilderNish Nishant5-May-16 4:28 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Mark_Wallace5-May-16 6:47
Mark_Wallace5-May-16 6:47 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Nish Nishant5-May-16 6:48
sitebuilderNish Nishant5-May-16 6:48 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Mark_Wallace5-May-16 7:50
Mark_Wallace5-May-16 7:50 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Nish Nishant5-May-16 7:56
sitebuilderNish Nishant5-May-16 7:56 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
charlieg5-May-16 5:01
charlieg5-May-16 5:01 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Member 47240845-May-16 22:34
Member 47240845-May-16 22:34 
I skimmed through the document and thoroughly read through part 1, and I can tell you from experience, there are situations(read cryptography and other time sensitive code sequences) where a manually unrolled loop is very much the advantage. Loops take time, the more loops you have to sort through the slower your program will run. Granted in the majority of cases it doesn't matter, but I guarantee that if you write a program that has to cycle through 6000+ loops, then in the same program unroll those loops as a series of separate functions, you will notice a significant speed boost.

If it can be avoided, don't use them.

Another speed increase is to use a fuzzy logic switch rather than a series of if statements, again for the same reason, if statements take longer to execute.

Plus it forces you to pay more attention to what you are doing.

Everything I skimmed through is really situation dependant.
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Nish Nishant6-May-16 1:32
sitebuilderNish Nishant6-May-16 1:32 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Member 107319446-May-16 9:26
Member 107319446-May-16 9:26 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Member 47240846-May-16 14:08
Member 47240846-May-16 14:08 
GeneralRe: The Ultimate Question of Programming, Refactoring, and Everything - by Andrey Karpov Pin
Herbie Mountjoy6-May-16 2:34
professionalHerbie Mountjoy6-May-16 2:34 
News[News] Microsoft's hover gestures for Windows phones are magnificent Pin
Nish Nishant5-May-16 3:33
sitebuilderNish Nishant5-May-16 3:33 
GeneralRe: [News] Microsoft's hover gestures for Windows phones are magnificent Pin
Marc Clifton5-May-16 3:57
mvaMarc Clifton5-May-16 3:57 
GeneralRe: [News] Microsoft's hover gestures for Windows phones are magnificent Pin
Nish Nishant5-May-16 4:29
sitebuilderNish Nishant5-May-16 4:29 
GeneralRe: [News] Microsoft's hover gestures for Windows phones are magnificent Pin
Mark_Wallace5-May-16 6:52
Mark_Wallace5-May-16 6:52 
GeneralFor those who like cats (redux). Pin
Maximilien5-May-16 3:28
Maximilien5-May-16 3:28 
GeneralRe: For those who like cats (redux). Pin
Mark_Wallace5-May-16 6:02
Mark_Wallace5-May-16 6:02 
GeneralRe: For those who like cats (redux). Pin
Basildane5-May-16 7:07
Basildane5-May-16 7:07 
GeneralRe: For those who like cats (redux). Pin
90823655-May-16 9:56
90823655-May-16 9:56 
GeneralRe: For those who like cats (redux). Pin
Basildane5-May-16 10:47
Basildane5-May-16 10:47 
GeneralFor all those who like cats... Pin
CDP18025-May-16 2:08
CDP18025-May-16 2:08 
GeneralRe: For all those who like cats... Pin
Member 124968875-May-16 2:59
Member 124968875-May-16 2:59 
GeneralRe: For all those who like cats... Pin
James McCullough5-May-16 3:05
professionalJames McCullough5-May-16 3:05 
GeneralRe: For all those who like cats... Pin
CDP18025-May-16 3:15
CDP18025-May-16 3:15 

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.