jOOX icon indicating copy to clipboard operation
jOOX copied to clipboard

Lazy create DOM contents when constructing new structures using $(String)

Open lukaseder opened this issue 12 years ago • 2 comments

This would mean a great performance improvement, if $(String) and similar methods wouldn't create new DOM documents every time, but only if needed. That way, the following structure would only create one single DOM document:

$("root",
  $("child", "text1"),
  $("child", "text2")
);

lukaseder avatar Jun 21 '13 17:06 lukaseder

never mind. overlooked thread safety.

bagerman avatar Nov 10 '15 20:11 bagerman

never mind. overlooked thread safety.

Yep :)

lukaseder avatar Nov 11 '15 09:11 lukaseder