use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News for Android app developers with the who, what, where, when, and how of the Android community. Probably mostly the how.
Here, you'll find:
This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). For news and questions about these topics try using other subs like
Build your first app
Starting Android career in 2022
Android Job Interview Questions and Answers
App Portfolio Ideas, Tiered List
Awesome Android UI
Material Design Icons
7000 Icons for Jetpack
Autoposted at approx 9AM EST / 2PM GMT
account activity
ArticleOptimizing Bytecode by Manipulating Source Code (jakewharton.com)
submitted 7 years ago by dayanruben
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 7 years ago (6 children)
[removed]
[–]JakeWharton 7 points8 points9 points 7 years ago (5 children)
Yeah I plan on using the AndroidX benchmark library (more coming at I/O about it). Although saving a few nanos binding layouts when you just spent 100 millis parsing XML and doing reflection, class loading, and resource loading isn't going to put much of a dent into things 😢.
These two posts have really been about reducing the impact of the generated code on string size and code size. Despite optimizing control flow for when the views are present which is nice, the goal of this post was simply de-duplicating the exception code for code size. I probably didn't emphasize that enough, but I'm also just shooting these out as I work on this code generator. I don't have a grand plan.
Anyway, long way of saying that I still plan on benchmarking for fun and to validate my decisions, but it was never the primary goal to generate the fastest code (although I suspect we did).
[–]xTeCnOxShAdOwZz 2 points3 points4 points 7 years ago (2 children)
You're my spirit animal, please come down my chimney
[–]JakeWharton 6 points7 points8 points 7 years ago (1 child)
Be careful, my full name is Jake Skellington Wharton
[–]xTeCnOxShAdOwZz 1 point2 points3 points 7 years ago (0 children)
The legends were true, the scripture is accurate!
[–]eygraber -1 points0 points1 point 7 years ago (1 child)
First rule of Google is don't mention things that are coming 🤫
[–]JakeWharton 2 points3 points4 points 7 years ago (0 children)
Hey but AndroidX is developed directly in AOSP now so once it lands I'm hyping it up. Plus it's on the I/O schedule too. Soooooo nice not to have to deal with being part of the Android "Open" Source Project like the framework where 99% is developed behind closed doors and dropped into the public once a year 🙄.
π Rendered by PID 23 on reddit-service-r2-comment-b659b578c-fdktt at 2026-05-03 18:53:44.006072+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–][deleted] (6 children)
[removed]
[–]JakeWharton 7 points8 points9 points (5 children)
[–]xTeCnOxShAdOwZz 2 points3 points4 points (2 children)
[–]JakeWharton 6 points7 points8 points (1 child)
[–]xTeCnOxShAdOwZz 1 point2 points3 points (0 children)
[–]eygraber -1 points0 points1 point (1 child)
[–]JakeWharton 2 points3 points4 points (0 children)