()
| 56 | let helpers = []; |
| 57 | |
| 58 | function allocHelper() { |
| 59 | if (helpers.length > 0) |
| 60 | return helpers.pop(); |
| 61 | let h = new Worker("data:application/javascript," + encodeURIComponent(helperCode)); |
| 62 | return h; |
| 63 | } |
| 64 | |
| 65 | function freeHelper(h) { |
| 66 | helpers.push(h); |