Intel Developer Blog: What the latest Android update means for devs

How to optimize your Java Code in Android Marshmallow

The launch of Android Marshmallow means a number of enhancements have been made to the Android Runtime (ART) that can help you provide end users with the best possible experience.

Software engineer Rahul Kandu has written an article full of insider tips and tricks to help you optimize your code for Android’s latest update.

Read the article to find out how to:

  • Make the most of the new Optimizing compiler in Android Marshmallow;
  • Remove unnecessary bounds checking;
  • Make recursive calls more efficient;
  • Trade precision for speed in maths operations; and
  • Ensure your Java programs run optimally, regardless of the device’s memory size.

If you’re looking to optimize your code for Android Lollipop, there’s an article here that you can take a look at. These articles are published by the Intel® Developer Zone, which has a range of resources for Android developers.

This blog post is written by Softtalkblog, and is sponsored by the Intel Developer Zone, which helps you to develop, market and sell software and apps for prominent platforms and emerging technologies powered by Intel Architecture.

About MCV Staff

Check Also

When We Made… Like a Dragon: Ishin!

Ryu Ga Gotoku Studio’s chief producer Hiroyuki Sakamoto talks to frequent Kamurocho visitor Vince Pavey about the remake of Like a Dragon: Ishin!, while the pair avoid the swords of the notorious Shinsengumi