javascript - Is this a way to pass full objects between web worker threads? -



javascript - Is this a way to pass full objects between web worker threads? -

i've read 2.7.6 safe passing of structured data several times , still not understanding means. way pass finish object, including retaining prototype, between web worker threads (or in our case between main , worker thread)?

if so, avoid the issues trying rebuild prototype in each object passed.

and reply - re-create constructors. did performance testing of re-create constructors vs setting prototype , re-create constructors faster. little faster in chrome & opera, worlds faster in ie , firefox.

details here:

javascript web-worker

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -