On May 31, 6:30 am, Dmitry Pashkevich <dip...@mail.ru> wrote: > > Using the string instead of the object/"class" > > reference definitely seems slower. So what are the ostensible > benefits of using a string instead, and can the performance be improved > > It is slower but that affects only the initial load time of your scripts. > But in return you won't have to care about the order in which your the > classes are defined (i.e. the order in which script files are included).
But I've typically always relied on ExtJS' lazy initializing/rendering and therefore have not had to care much about this in the past either. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com/jsmentors@googlegroups.com/ To unsubscribe from this group, send email to jsmentors+unsubscr...@googlegroups.com