It's commercial request development, i make as requested: first of all a some exported DB in the text file (100 - 200 symbols in 6 fields per line, with "TAB" as separator-symbol) must be imported, and then working with this big database.
Super! Only 16 seconds. At me 3 mins with progressbar for 4 MB file and 28000 lines, if to read line-by-line, parse by RegEx and INSERT into SQLite one by one by DBUtils.
Yes, i can optimise, if without DButils subs, just direct SQLite requests, but, seems, minimal difference will be.
So, now you should understand why my question. Yes, i can try to read whole the file first, maybe 4MB is not a problem, but files will be several times bigger. But the device is a Android based barcode-scanner device with 1GB memory only.