nicofoo / android-sky

Automatically exported from code.google.com/p/android-sky
0 stars 0 forks source link

Use indexOf() instead of Pattern to speed up dialog #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We're using Pattern regex to match condition strings against forecast
icons.  Patterns are expensive, and even though we're keeping them static,
they get disposed of pretty quickly.

We should move to a case-insensitive indexOf() approach to speed things up.

Original issue reported on code.google.com by Jeffrey.Sharkey on 26 Apr 2009 at 11:47

GoogleCodeExporter commented 9 years ago
Fixed in r3.

Original comment by Jeffrey.Sharkey on 6 May 2009 at 9:22