AndroidNougatEasterEgg icon indicating copy to clipboard operation
AndroidNougatEasterEgg copied to clipboard

Performance improvement ideas

Open chris-blay opened this issue 7 years ago • 2 comments

  • Avoid reloading cats onPrefsChanged() if no cat-related prefs changed?
  • Is there a better way to reuse/release Cat drawables in NekoLand.updateCats()?

chris-blay avatar Feb 04 '18 21:02 chris-blay

Are individual cats stored as a combination of parts and redrawn every time they are shown? Should it be changed and every time a cat is generated it is stored as a complete PNG maybe? This way when they are displayed there is no need to render 38 pieces for each cat. Maybe I'm wrong here. Just an idea.

MonkWho avatar Mar 30 '18 08:03 MonkWho

I've recently launched the built in Neko game on my wife's Galaxy S8 that has been updated to Oreo. Looks like something has been optimized in the recent builds since I was able to scroll through several hundred cats without any lag or crashes. Just an FYI.

MonkWho avatar May 18 '18 20:05 MonkWho