Search found 50 matches

by Havanna
Wed Jun 22, 2016 4:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Re: Performance badly degrading with growing string variable

I gave this to my trusty old MS Access 2K3 Your trusty A has done well, Access is where the data came from :) just fyi the part after + goes to a new field that is introduced when processing the first line (csv Fields). But that is not a problem really, I prefer doing things in steps and have done ...
by Havanna
Thu Jun 09, 2016 1:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Re: Performance badly degrading with growing string variable

@Havanna: it may be helpful if you're in a position to provide a link to the data and an example of the desired output. I can't help but wonder if there's a way to do replacements across the entire data set without using any loops at all. Richard, you can find one of these files at http://ellvis.de...
by Havanna
Thu Jun 09, 2016 1:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Re: Performance badly degrading with growing string variable

I knew it. Thinking helps sometimes. New code: New times, with direct output to a file: 5000 replacements / 18351 ms; 3.6702 ms/record 67648 replacements / 250805 ms; 3.707501 ms/record Voilà! Degradation removed! \o/ \o/ \o/ Thx AxWald for your extensive testing! I was used to think of files as ve...
by Havanna
Tue May 17, 2016 6:51 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Re: Performance badly degrading with growing string variable

Thanks for all your considerations, Richard! The actual processing algo isn't the problem, as it includes TRANSACTION, repeat for each … It really comes down to "put somting after some string" taking terribly long with bigger strings. In this teststack, writing 500000 dummy lines costs almost 36 sec...
by Havanna
Mon May 16, 2016 9:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Re: Performance badly degrading with growing string variable

Sorry, I may not have been clear enough: The job requires a number of csv-files (about 80 MB) to be put into an SqLite database. this means to translate data to SQL and on the fly do some conversions, like exchanging commas for dots as data comes from a german system that would use the comma as a de...
by Havanna
Sun May 15, 2016 7:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Re: Performance badly degrading with growing string variable

Performance seems to be slightly better in 8. A test stack would have a scrolling field named "f_show" and a button to run the test with the following script on mouseUp put 10000 into tChunkSize put 300000 into tMaxIterations put 0 into tCounter put 0 into tTeller put milliseconds() into tNow put "M...
by Havanna
Sun May 15, 2016 6:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Performance badly degrading with growing string variable
Replies: 20
Views: 13457

Performance badly degrading with growing string variable

With LC 8.0 Indy (and older versions) I often have to change values in large (>12 MB) csv files. Normally I put the file into an input variable, repeat with each Line some conversion, put the changed line after an output variable, finally write this output variable back to the file. This works just ...
by Havanna
Fri Aug 07, 2015 3:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC 7.0.5 project Browser strange indentation
Replies: 8
Views: 4652

Re: LC 7.0.5 project Browser strange indentation

@golive, originally there was an attached screenshot of a Project Browser not displaying some controls properly; it looks like @havanna has withdrawn it... Yes Bernd's suggest to check what the Application Browser is showing is a good idea - if it's OK in the Application Browser then that would mak...
by Havanna
Wed Aug 05, 2015 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC 7.0.5 project Browser strange indentation
Replies: 8
Views: 4652

Re: LC 7.0.5 project Browser strange indentation

Dave, that is what worries me. The inspector Shows proerties of the real Group, When I delete that Phantom Group, The real Datadisplay vanishes also. I'm trying to move the contents into a New Group, then delete the broken Part and rename the New one. Would not want to rebuild the whole thong with s...
by Havanna
Wed Aug 05, 2015 2:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LC 7.0.5 project Browser strange indentation
Replies: 8
Views: 4652

LC 7.0.5 project Browser strange indentation

Something seems to be broken in the project browser display, see attached pic, left side looks fine, but Unfolded Group "DataDisplay" on the right is weird. Restarting LC and reloading this project makes no difference, all runs fine - but this doesn't feel right. How can I get this sorted out? P-Bro...
by Havanna
Wed Aug 05, 2015 12:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: screen coordinations problem with Galaxy Tab 7.0.5
Replies: 0
Views: 1771

screen coordinations problem with Galaxy Tab 7.0.5

My App retrieves the width and height of this stack in the preopenstack function and places them into a global array. All coordinates and sizes then are calculated on these values as needed. Labels and Buttons are sized depending on formattedwidth and and formattedheight. That used to work aut all r...
by Havanna
Wed Aug 05, 2015 11:52 am
Forum: iOS Deployment
Topic: IOS crash report debugging - where is xcode dSYM?
Replies: 5
Views: 4035

Re: IOS crash report debugging - where is xcode dSYM?

Thanks JacobS,

the update did it.
by Havanna
Thu Jul 02, 2015 10:05 am
Forum: iOS Deployment
Topic: IOS crash report debugging - where is xcode dSYM?
Replies: 5
Views: 4035

Re: IOS crash report debugging - where is xcode dSYM?

Thx, Jacob. Yes, I test on a physical iphone 4S, to find how the app reacts on slower hardware. Previous Version worked fine, and i can reproduce the crash now in simulator and Hardware, but the behaviour is really queer: the first start always fails I didn't notice on the simulator, because it just...
by Havanna
Tue May 12, 2015 10:43 am
Forum: iOS Deployment
Topic: IOS crash report debugging - where is xcode dSYM?
Replies: 5
Views: 4035

Anybody?

Answers (or questions - I may not have mself clear) would be really appreciated.

This source runs fine on android (with different file paths of course) and there is no trouble on Windoze nor in the IDE or the IOS simlulator.
There should be a way to find the problem really!
by Havanna
Fri May 08, 2015 1:04 pm
Forum: iOS Deployment
Topic: IOS crash report debugging - where is xcode dSYM?
Replies: 5
Views: 4035

IOS crash report debugging - where is xcode dSYM?

I have an App Store rejection because of a crash on startup (the app seems to run okay in simulator). Apple has sent some crash reports, but the xcode debugging tips from apple are no help, as I can't find the .dSYM files as they advise. How do I make sense of those crash reports? Is there some kind...

Go to advanced search