2013 14:51
Aan: Discussions related to Mono for Android
Onderwerp: Re: [mono-android] Copying data between Dalvik and Mono... major
slowdown.
I had a feeling that was why. Anyway I wrote my own implementation in C# using
Mono.Data.Sqlite with my own version of the ContentValues class. It now
] On Behalf Of Jonathan Pryor
Sent: Sunday, January 06, 2013 10:34 PM
To: Discussions related to Mono for Android
Subject: Re: [mono-android] Copying data between Dalvik and Mono... major
slowdown.
On Jan 3, 2013, at 4:32 PM, Jeremy A. Kolb - ARA/NED wrote:
> Furthermore, In:
>
>
47 506 037
-Oorspronkelijk bericht-
Van: monodroid-boun...@lists.ximian.com
[mailto:monodroid-boun...@lists.ximian.com] Namens Jonathan Pryor
Verzonden: maandag 7 januari 2013 04:34
Aan: Discussions related to Mono for Android
Onderwerp: Re: [mono-android] Copying data between Dalvik and Mono... major
On Jan 3, 2013, at 4:32 PM, Jeremy A. Kolb - ARA/NED wrote:
> Furthermore, In:
>
> [Register("bulkInsert",
> "(Landroid/net/Uri;[Landroid/content/ContentValues;)I", "")]
> public int BulkInsert(Android.Net.Uri url, ContentValues[] values)
> {
> IntPtr num1 = JNIEnv.NewArray(va
Given the large volume of data involved, you might be better off just using
ADO.NET and not a ContentProvider. Is that an option for you?
On Thu, Jan 3, 2013 at 2:18 PM, Jeremy A. Kolb - ARA/NED wrote:
> I’m getting killed with bulk inserts via ContentResolver because of the
> marshaling of C
the function call? values shouldn't have
changed. url certainly doesn't get the same treatment.
Jeremy
From: monodroid-boun...@lists.ximian.com
[mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jeremy A. Kolb -
ARA/NED
Sent: Thursday, January 03, 2013 4:18 PM
To: monodroid@l
I'm getting killed with bulk inserts via ContentResolver because of the
marshaling of ContentValues[] between C# and Android right before it calls into
my ContentProvider (C# again). It looks like that must be two copies.
I have large arrays (a couple of thousands of elements). Is there any w