Does Duff's Device Speed up Java Code?

Posted by bmargulies on Stack Overflow See other posts from Stack Overflow or by bmargulies
Published on 2010-03-16T01:11:37Z Indexed on 2010/03/16 1:19 UTC
Read the original article Hit count: 296

Filed under:
|

Using the stock Sun 1.6 compiler and JRE/JIT, is it a good idea to use Duff's Device to unroll a loop? Or does it end up as code obfuscation with no performance benefit.

© Stack Overflow or respective owner

Related posts about java

Related posts about duffs