News for hackers. Stuff that matters.
Re:Dalvik patch for Facebook for Android by georgemcbay on Monday March 04, 2013 @11:06PM (#5322836)
Three million methods? Having both programmed for Android and having used the Facebook App for Android, I find it very difficult to believe that app has anywhere near 3 million methods, even if each one is basically a one-liner. If the number is correct, that really is some kind of crazytown code.
Re:Dalvik patch for Facebook for Android by Xuzz on Monday March 04, 2013 @11:55PM (#5323007)
I think the actual number is 65536 or similar — the 3 million may have been a misquote by TechCrunch.
Re:Dalvik patch for Facebook for Android by georgemcbay on Tuesday March 05, 2013 @03:16AM (#5323518)
Still seems like a ridiculous number, though of course far less ridiculous especially for Java code with its legacy of setters and getters for even basic properties and FactoryOfFactoriesFactory classes.
Re:Dalvik patch for Facebook for Android by cpeterso on Tuesday March 05, 2013 @05:51AM (#5323863)
Trivial getters and setters shouldn't be a problem because the Facebook blog said they tried using ProGuard, which can inline Java methods.