Hi RĂ¼diger! > we generate most of the code dynamically on the server-side. Therefore, > neither migration scripts nor the optimizing generator serves(: > > As a quick solution I re-introduced the qx.constant classes which works. > Would You recommend to 'inline' them? Is there a memory or performance > difference between using constants and literal strings?
Yes. Since IE6 gernerically shows a very unfortunate scaling effect for large object numbers, it is important to reduce object numbers in applications. Literal strings add to the total object number. Therefore string optimization that replaces all string literal automagically is a huge performance improvement. > I am wondering if it isn't quite unsafe to use string literals, since > when using constants a parser or validator could at least find > misspelled constant names. Yes, it is rather unsafe. Therefore I guess we will see some of the "useful" constants reappear someday. ;-) Andreas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
