1.main_thread and work_thread don't share anything(share nothing in common)
2.constructing domFragment to some level of structure(base on data) all in main_thread is a little time consuming,and can be divide in to jobs for worker_thread.
however , i can find noway to pass in a DocumentFragment into work_thread
postMessage(fragment) // no way
postMessage({f:fragment}) // no way ,same reason above(serialization)
postMessage(fragment,[fragment]) // no way, type checking , must be a buffer type...
maybe this kind of optimizing is not worth the effort? any comments?