commit | a044fbbb1e5498a0112f20a1b0de11a4089ef612 | [log] [tgz] |
---|---|---|
author | Jim Miller <jaggies@google.com> | Wed Oct 06 20:41:09 2010 -0700 |
committer | Jim Miller <jaggies@google.com> | Wed Oct 06 20:46:42 2010 -0700 |
tree | 622c86d086ac3d46001bde9c4b5ea22c88bb0b31 | |
parent | 5621100edc38c6e7f7fd7ef54945ba035204fe49 [diff] |
Substantial improvement to Carousel launch time. This fixes a bug where compiling the renderscript was done multiple times. The operation is fairly expensive and was taking about 800ms per call, repeated over several calls. The new code compiles it just once in the CarouselRS constructor and keeps a reference to it. Change-Id: I6cbf92062a995e2d847f40e737448e0bc6684d76