[ascii] When doing the preview or reading from an ascii file we calcualte the…

Authored by asemke on Feb 11 2019, 9:11 PM.

Description

[ascii] When doing the preview or reading from an ascii file we calcualte the number of lines by readLine()'ing. This takes a lot of time for big files (>1GB). In FileInfoDialog we make use of wc linux utility, if available, which is much faster. This dirty hack makes sure we use wc also for the preview and when reading from the file. The solution is not nice, we need to revisit this maybe later again.

Details

Committed
asemkeFeb 11 2019, 9:11 PM
Parents
R262:31447f1d8907: fix compilation without MQTT
Branches
Unknown
Tags
Unknown