-
Notifications
You must be signed in to change notification settings - Fork 561
Open
Labels
Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).Issues with the Android API binding (Mono.Android.dll).Area: PerformanceIssues with performance.Issues with performance.enhancementProposed change to current functionality.Proposed change to current functionality.
Milestone
Description
Investigate if any of the methods provided by our Java collection wrappers (JavaList, JavaDictionary, etc.) could be implemented more efficiently.
For example, JavaList implements ToArray () by calling java.util.List.get (int) for each item in the List, resulting in a lot of marshalling overhead.
Could we instead call java.util.List.toArray () to retrieve all of the items in one call?
Another possibility might be to add something like ToImmutableList () to efficiently move a copy of the list to C# that no longer needs to be kept in sync with Java?
tipa and carmichaelalonso
Metadata
Metadata
Assignees
Labels
Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).Issues with the Android API binding (Mono.Android.dll).Area: PerformanceIssues with performance.Issues with performance.enhancementProposed change to current functionality.Proposed change to current functionality.