Open ebidel opened 12 years ago
thanks for the head-up, will definitely investigate that. However, my current priority is to bring SWT up to the standard (current best in ICDAR test set has f-rate of 0.66, ccv's version only reached about f-rate 0.55).
1. webkitPostMessage() supports transferable objects which are orders of magnitude faster than structured cloning (regular postMessage()). They're currently supported in Chrome, but could help speed up perf quite a bit.
http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-Fast
2. Also, Chrome and other browsers now support sending JSON data directly, so if 1.) doesn't work out, you can get rid of JSON.parse/JSON.stringify in the postMessage calls.
http://updates.html5rocks.com/2011/09/Workers-ArrayBuffer