Re: Having a shared thread pool on Android

2012-09-24 Thread Dave Johnson
+1 On Monday, September 24, 2012, Andrew Grieve wrote: > I added a Executors.newCachedThreadPool() to PluginManager, and it greatly > improved performance of async tasks. I'm now wondering - is there any > reason to not put this in CordovaInterface and have an app-wide > thread-pool? > > Other th

Having a shared thread pool on Android

2012-09-24 Thread Andrew Grieve
I added a Executors.newCachedThreadPool() to PluginManager, and it greatly improved performance of async tasks. I'm now wondering - is there any reason to not put this in CordovaInterface and have an app-wide thread-pool? Other than wanting to give threads a name, I can't think of why you'd ever w