How often is this - loadBeanDeploymentArchive
- method used?
Depends how many extensions are present, and how many beans/classes they add. It's used once per extension and once per bean or class it adds. So potentially, a lot...
OK, thought so as well. Just wanted to make sure. :-)
Or, shouldn't the (potential) operation [Archive|Deployment]::isReachable(Archive other) be O(1),
a simple hash lookup of pre-build reachable archives / deployments?
That seems sensible to me.
At least that's how I would impl things --> building proper indexes when things get deployed.
So any potential lookup would be super simple aka fast.