Nikita, Ah okay, I misunderstood; I'm tracking now. I do think that namespacing would be a good idea because of possible conflicts with jars containing entries with that name, but there are of course no performance issues with what you propose.
-- Micha Niskin On Sat, Nov 15, 2014 at 1:39 PM, Nikita Prokopov <[email protected]> wrote: > Micha, > > I don’t understand what kind of optimization we’re talking about. > > If I understand correctly, boot v2 scans every jar for the mask > `*.jar!/hoplon/include/**/*.ext.js`. > My proposal is to scan each jar for a single possible path > `*.jar!/externs.js`. > Current `:externs` directive in lein-cljsbuild _does_ scan all the jars > for the path you’ve specified for it (e.g. if you put :externs > ["react/externs/react.js"] it will scan entire classpath for this path). > So at least we’re not making things worse. > > Also, as the content of the jar (non-snapshot at least) is immutable, we > can cache this information heavily. > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to a topic in the > Google Groups "ClojureScript" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojurescript/LtFMDxc5D00/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
