jamesnetherton commented on issue #7851:
URL: https://github.com/apache/camel-quarkus/issues/7851#issuecomment-5164217767

   IMO we should consider closing this issue. It's not always desirable to load 
_all_ SPIs.
   
   * Performance - SPI loading requires runtime reflection
   * Increased size of the native application binary
   * Some are unwanted and depend on optional dependencies that might not be on 
the classpath
   * Some are problematic for native mode
   
   Interestingly, there's a thread in the Quarkus Dev zulip channel about it 
with some numbers:
   
   [#dev > Impact of 
UseServiceLoaderFeature](https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/Impact.20of.20UseServiceLoaderFeature/with/614251044)
   
   So while we may save in code maintenance, we loose out elsewhere.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to