Hi
On 2012.05.30 16:52, Dean Cleaver wrote:
What has seemed to help is this: Removing references to System.Data
and Mono.Data.SqlLite. They were both used in some code, but only code
that was executed on the server, or in generic code (base libraries)
where they were no longer needed. So for the code executed on the
server (same code shared between both projects) I conditionally
compiled all the System.Data code out of the iPhone side so I could
remove the reference. This has shaved several seconds off the load
time as it's fewer assemblies needing to be loaded. It's now down to
about 12 seconds to start calling my code, which takes about 1.5
seconds in total until the "ViewDidAppear" ends on my first view.
So this would imply that conditional compilation (#idefs) is not
something to recommend?
I'm searching for right rules and recommendations for multitargeting
myself. Still haven't stabilized my thougths
regards
mel
--
Miljenko Cvjetko dipl.ing. ET
Direktor/CEO
Projektant rjes(enja/Solution Architect
Razvojni programer/Senior developer
Voditelj projekta/Project Manager
IX juz(na obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://www.holisticware.net
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch