At the end of the day, as cool as it is, autoloading is just too slow. I created a Factory Class for my library, and it was some 200* slower than if the js file was included w/ the dom.
So where I commend anyone on their efforts, to streamline the dependency of scripts, i reject them in practice. It's quicker to just make the user download more script than it is waiting for another request, a subsequent download, and the resulting parse. Goodluck. -Chase On Apr 22, 10:22 am, batman42ca <[email protected]> wrote: > On Apr 22, 9:09 am, אריה גלזר <[email protected]> wrote: > > > nothing for dependencies, just lazy-loading of the class file > > Which is the problem I was originally trying to solve. The only > dependency that mattered to me was the dependency of the Class on it's > own source code file. If all the source code is present in a directory > somewhere, there are no other dependencies to be resolved except each > class's depencency on it's own javascript file. > > -- > Subscription > settings:http://groups.google.com/group/mootools-users/subscribe?hl=en
