Jack, Where are you seeing the speed issues? On page start? The following code could be sped up a bunch. It's the code that runs on the $().ready() to initialize all the method. Hard coding the string to an array and getting rid of the eval() would speed things up.
-Dan (function() { var t = "A<ABBR<ACRONYM<ADDRESS<AREA<B<BASE<BDO<BIG<BLOCKQUOTE<BODY<BR<BUTTON<CAPTIO N<CITE<CODE<COL<COLGROUP<DD<DEL<DIV<DFN<DL<DT<EM<FIELDSET<FONT<FORM<FRAME<FR AMESET<H1<H2<H3<H4<H5<H6<HEAD<HR<HTML<I<IFRAME<IMG<INPUT<INS<KBD<LABEL<LEGEN D<LI<LINK<MAP<META<NOFRAMES<NOSCRIPT<OBJECT<OL<OPTGROUP<OPTION<P<PARAM<PRE<Q <SAMP<SCRIPT<SELECT<SMALL<SPAN<STRONG<STYLE<SUB<SUP<TABLE<TBODY<TD<TEXTAREA< TFOOT<TH<THEAD<TITLE<TR<TT<UL<VAR".split("<"); for (var j=0;j<t.length;j++) { var tl = t[j].toLowerCase(); eval("jQuery."+t[j]+" = function() { return (function (args) {var attr = args[0]||{};var z = typeof attr == 'string' || typeof attr== 'number' ? 0: 1; var str = '<"+tl+"';"+ //fix readonly input type for IE (tl=='input' && document.all ? "if (z) for (var j in attr) if (j.toLowerCase()=='type') { if (attr[j]) str+=' type=\"'+attr[j]+'\"'; break; }":"")+ "str+='/>';var n = jQuery(str); if (z) n.jQuickAttr(attr,'"+tl+"'); for (var i=z;i<args.length;i++) { var a = args[i]; if (!a) continue; if (a.constructor != Array) n.jQuickAppend(a); else for (var k=0;k<a.length;k++) n.jQuickAppend(a[k]); } return n;})(arguments); }") } })(); >-----Original Message----- >From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On >Behalf Of Jack Killpatrick >Sent: Thursday, June 21, 2007 5:24 PM >To: jquery-en@googlegroups.com >Subject: [jQuery] jquick speed > > >Earlier today I converted some string concat js stuff (for creating >HTML) to use the jquick plugin instead: > > http://jquick.sullof.com/jquick/ > >Things now seem noticably slower, but I also changed a bunch of other >stuff in the code I'm working on. I haven't dug in deeper to see where >the speed issue might be, but am wondering if anyone has used jquick >much and can vouch for it's speed (or has noticed it causing bottlenecks)? > >Thanks, >Jack