Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion

"Servlet Scanner plugin"

To view the discussion, visit: http://community.jboss.org/message/533815#533815

--------------------------------------------------------------
> I was sugesting a single method since it could avoid loops going through all 
> the classes, right ?
No, that's the whole point of having this scanning "framework" -- we do it all 
(all sorts of indexing, ...) in a single pass.
What we need is just to properly prepare the info, so when the query is 
invoked, it's basically O(1) lookup.

So, split methods make sense to me, as then all we do is Set::intersect.
Or am I missing something?

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/533815#533815]

Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to