Creation of the factories themselves aren't particularly optimized, calling factory.create(..) to create your assisted objects is what's optimized. Creation of factories should only happen once (at startup), so the cost isn't as crucial. If you have suggestions for optimizing the code, though, please file a bug with a patch!
sam On Fri, May 18, 2012 at 9:31 AM, glenviewjeff <glenviewj...@gmail.com>wrote: > I'm using Guice 3.0, and the AssistedInjection FactoryModuleBuilder still > appears to be unusably slow. My app is taking about 15-20 seconds to start > up, and about 30% of that time is spent creating about 20 factories. > > > On Wednesday, August 10, 2011 4:52:17 PM UTC-5, glenviewjeff wrote: >> >> Is there a packaged jar version of AssistedInject.jar that's based on the >> 2.0 branch that i can get that fixes this? I can't yet upgrade to Guice >> 3.0 since Roboguice doesn't yet support 3.0. >> >> Why doesn't Guice package up and issue minor releases? >> >> -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-guice/-/1QMiWgIdM3QJ. > > To post to this group, send email to google-guice@googlegroups.com. > To unsubscribe from this group, send email to > google-guice+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to google-guice@googlegroups.com. To unsubscribe from this group, send email to google-guice+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.