[Kst] branches/work/kst/portto4/kst/src/datasources/ascii
Nicolas Brisset
nicolas.brisset at eurocopter.com
Mon Jan 24 08:43:00 CET 2011
SVN commit 1216680 by brisset:
Reduce default comment delimiters to "#", as : and / are hevily used in formats
where time/dates are saved as ASCII, and ; is a very usual column delimiter.
This created enough confusion in the past.
Moreover, from the timings provided by Peter, it seems that adding characters
there substantially degrades performance.
M +2 -2 asciisourceconfig.cpp
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisourceconfig.cpp #1216679:1216680
@@ -27,7 +27,7 @@
//
-#define DEFAULT_DELIMITERS "#/c!;"
+#define DEFAULT_COMMENT_DELIMITERS "#"
#define DEFAULT_COLUMN_WIDTH 16
@@ -56,7 +56,7 @@
AsciiSourceConfig::AsciiSourceConfig() :
- _delimiters(DEFAULT_DELIMITERS),
+ _delimiters(DEFAULT_COMMENT_DELIMITERS),
_indexVector("INDEX"),
_fileNamePattern(""),
_indexInterpretation(Unknown),
More information about the Kst
mailing list