14,297,325 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.

 Re: What is the difference between Regular and Decaf coffee? Richard Deeming9-May-19 1:28 Richard Deeming 9-May-19 1:28
 Re: What is the difference between Regular and Decaf coffee? Slacker0079-May-19 2:58 Slacker007 9-May-19 2:58
 Re: What is the difference between Regular and Decaf coffee? RJOberg9-May-19 3:24 RJOberg 9-May-19 3:24
 Re: What is the difference between Regular and Decaf coffee? MarkTJohnson9-May-19 3:37 MarkTJohnson 9-May-19 3:37
 Re: What is the difference between Regular and Decaf coffee? Chris Quinn9-May-19 4:46 Chris Quinn 9-May-19 4:46
 Re: What is the difference between Regular and Decaf coffee? Daniel Pfeffer9-May-19 23:19 Daniel Pfeffer 9-May-19 23:19
 Re: What is the difference between Regular and Decaf coffee? steveb9-May-19 5:56 steveb 9-May-19 5:56
 Surprised about the big difference Nelek8-May-19 20:58 Nelek 8-May-19 20:58
 I already knew that the "%" (Modulo) operator is translated in a lot of instructions more than one would think at first glance and hence is a bit slower, but as I am trying to scratch every microsecond I can in my project... I have just made a simple test: 50000 iterations and increasing a variable by one in each match Loop 1: using i % 3 == 0 and i % 50 == 0 Loop 2: the same but using two helper counters instead. if count3 == 3 and count50 == 50 almost 300% performance difference I didn't expect that much. M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
 Re: Surprised about the big difference OriginalGriff8-May-19 21:20 OriginalGriff 8-May-19 21:20
 Re: Surprised about the big difference harold aptroot8-May-19 22:03 harold aptroot 8-May-19 22:03
 Re: Surprised about the big difference harold aptroot9-May-19 2:12 harold aptroot 9-May-19 2:12
 Re: Surprised about the big difference Fueled By Caffeine8-May-19 21:26 Fueled By Caffeine 8-May-19 21:26
 Re: Surprised about the big difference OriginalGriff8-May-19 21:34 OriginalGriff 8-May-19 21:34
 Re: Surprised about the big difference harold aptroot8-May-19 22:01 harold aptroot 8-May-19 22:01
 Re: Surprised about the big difference den2k888-May-19 21:50 den2k88 8-May-19 21:50
 Re: Surprised about the big difference #realJSOP9-May-19 2:04 #realJSOP 9-May-19 2:04
 Re: Surprised about the big difference den2k889-May-19 2:27 den2k88 9-May-19 2:27
 Re: Surprised about the big difference Tim Deveaux8-May-19 22:31 Tim Deveaux 8-May-19 22:31
 Re: Surprised about the big difference Nelek8-May-19 23:11 Nelek 8-May-19 23:11
 Re: Surprised about the big difference CodeWraith8-May-19 23:20 CodeWraith 8-May-19 23:20
 Re: Surprised about the big difference Nelek9-May-19 0:41 Nelek 9-May-19 0:41
 Re: Surprised about the big difference PIEBALDconsult9-May-19 3:32 PIEBALDconsult 9-May-19 3:32
 Re: Surprised about the big difference Rick York9-May-19 5:48 Rick York 9-May-19 5:48
 Last Visit: 15-Sep-19 0:28     Last Update: 15-Sep-19 0:28 Refresh « Prev1...632633634635636637638639640641 Next »