Timeline for Sum of digits in a^b
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 19, 2014 at 5:18 | comment | added | Kunal Krishna | "You suggest method extraction will slow things down".I never said that. I just thought mere code re-factoring won't improve performance for it's complexity still remains the same. | |
Nov 18, 2014 at 12:04 | comment | added | rolfl | @KunalKrishna - You suggest method extraction will slow things down, but have you tested it? In general, method extraction not only improves readability, but the compiler is quite capable of inlining the method, and there's no performance loss. | |
Nov 18, 2014 at 10:42 | comment | added | Kunal Krishna | "Simple method extraction will help a lot with your code" will it lead to performance gain? I don't think so. It only make code more readable which doesn't matter much in coding contests. However, good coding practice should be always promoted. | |
Nov 17, 2014 at 22:16 | history | edited | rolfl | CC BY-SA 3.0 |
add signed int
|
Nov 17, 2014 at 22:07 | history | answered | rolfl | CC BY-SA 3.0 |