To Index or Iterate? (Android Performance Patterns Season 2 ep6)

28 582
18.6
Опубликовано 26 мая 2015, 16:43
The Java Language typically suggests that programmers use ITERATORS in order to walk over containers, due to a whole list of very important code stability reasons. That’s all fine and-dandy, but we have to ask if they are performant, as well as easy-to-use.
To find the answer Colt McAnlis wrote some code, measured some containers, and presents the information in this video.

Watch more Android Performance Patterns here: goo.gl/4ZJkY1
Join the G+ Community here: goo.gl/g7mxmI
Subscribe to the Google Developers channel here: goo.gl/mQyv5L
автотехномузыкадетское