[jboss-user] [JBoss Microcontainer Development] - Servlet Scanner plugin
Ales Justin
do-not-reply at jboss.com
Wed Mar 24 15:00:20 EDT 2010
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100324/a888c595/attachment.html
More information about the jboss-user
mailing list