Last active
July 11, 2020 04:19
-
-
Save sc1f/a7f9e286f25721608aef4f3603ea0150 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const worker = perspective.worker(); | |
worker._detect_transferable = () => { | |
worker._worker.transferable = false; | |
return false; | |
}; | |
worker._detect_transferable(); | |
const table = worker.table({ | |
a: [1, 2, 3, 4] | |
}); | |
const arrow = await table.view().to_arrow(); | |
for (let i = 0; i < 10; i++) { | |
table.update(arrow); | |
} | |
console.log(await table.size()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment