foxtrotzulu94 / ECE-Pokedex

An Android App for those that want to be the very best! You Gotta Catch 'Em All!
MIT License
1 stars 1 forks source link

Optimize Minimal Pokemon List Creation #30

Closed foxtrotzulu94 closed 9 years ago

foxtrotzulu94 commented 9 years ago

Bulk database access of with a single query generally perform better than several separate, unique accesses due to API Overhead and Stack lag.

Refactor the Database Access code in Pokemon Factory to enable building the entire list of MinimalPokemon objects from as few SQL queries as possible.