Is that possible to implement Sqlite.jsm with ctypes so that is can works in the worker?

2015-11-14 Thread Yonggang Luo
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

Re: Is that possible to implement Sqlite.jsm with ctypes so that is can works in the worker?

2015-11-14 Thread David Rajchenbach-Teller
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

Re: Error of OS X build (c-c TB)

2015-11-14 Thread ISHIKAWA,chiaki
On 2015/11/14 12:31, Xidorn Quan wrote: Have you checked your log here: https://treeherder.mozilla.org/logviewer.html#?job_id=11934=try-comm-central - Xidorn Yes, I have looked at it. The information there is sparse. The error indicates there is ambiguity resolving TextArea symbol. But,

Re: Error of OS X build (c-c TB)

2015-11-14 Thread Xidorn Quan
On Sun, Nov 15, 2015 at 1:05 PM, ISHIKAWA,chiaki wrote: > On 2015/11/14 12:31, Xidorn Quan wrote: >> >> Have you checked your log here: >> >> https://treeherder.mozilla.org/logviewer.html#?job_id=11934=try-comm-central >> >> - Xidorn > > > Yes, I have looked at it. > > The

Re: Is that possible to implement Sqlite.jsm with ctypes so that is can works in the worker?

2015-11-14 Thread Yonggang Luo
On Saturday, November 14, 2015 at 6:21:34 PM UTC+8, David Rajchenbach-Teller wrote: > 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