iOS Question read long text file

Uniko Sistemi srl

Active Member
Licensed User
Good morning everyone.
I have a problem that only occurs with b4i.
I have a txt file that contains 3500 lines, in which I should search for an item that can be present multiple times. so I should find a method to search for all the desired items within this file. I tried readlist (but the file is too big and becomes slow)..can anyone give me some advice? A thousand thanks
unfortunately I have to use txt (customer need) and I can't use sql
 
Solution
And is it as slow in Release mode as it is in Debug mode?

You might need to comment out the Log calls so that your app runs properly in Release mode.

emexes

Expert
Licensed User

I agree šŸ» I could believe that Debug mode might be 10-times slower, but 1000-times slower is... amazing!

Maybe it is the overhead of communicating debug/trace/watch/log information back to the debug IDE.

Especially if there are active breakpoints or watched variables (if they are possible - it's been a while since I used B4I, and I don't have it installed on my replacement laptop... which reminds me: everything I've written above is based on untested thinking :rolleyes:).
 
Upvote 0
Top