Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
4004b7b7
Commit
4004b7b7
authored
Apr 16, 2016
by
Axel Auweter
Browse files
Speed up CVS import by quicker creation of DCDBTimeStamp objects.
parent
75cd26c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
DCDBCSVImport/dcdbcsvimport.cpp
View file @
4004b7b7
...
...
@@ -126,7 +126,7 @@ int main(int argc, char** argv)
while
(
std
::
getline
(
fs
,
s
))
{
int
col
=
0
;
lineno
++
;
DCDB
::
TimeStamp
ts
;
DCDB
::
TimeStamp
ts
(
0ull
)
;
boost
::
tokenizer
<
boost
::
escaped_list_separator
<
char
>
>
tk
(
s
,
boost
::
escaped_list_separator
<
char
>
(
'\\'
,
','
,
'\"'
));
for
(
boost
::
tokenizer
<
boost
::
escaped_list_separator
<
char
>
>::
iterator
i
=
tk
.
begin
();
i
!=
tk
.
end
();
++
i
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment