Actually, Sqlite.jsm does most of its work off the main thread.

But yes, it would clearly be possible to reimplement Sqlite.jsm using
js-ctypes for workers. If you wish to work on this, I can try and help
mentoring.


Cheers,
David

On 14/11/15 10:45, Yonggang Luo wrote:
> The current Sqlite.jsm can only work in main thread, that's would be a
problem when inserting a lot of data.
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to