https://bugs.freedesktop.org/show_bug.cgi?id=44276

             Bug #: 44276
           Summary: improve speed of csv import
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Spreadsheet
        AssignedTo: [email protected]
        ReportedBy: [email protected]


During csv import we are have a bottleneck at ScCsvGrid::ImplSetTextLineSep

          for( sal_uInt32 nSplitIx = GetColumnCount() - 1; nSplitIx > nColIx;
--nSplitIx )
                 {
                     sal_Int32 nPos = maSplits[ nSplitIx ];
                     maSplits.Remove( nPos );
                     maSplits.Insert( nPos + nDiff );
                 }

We should think about different data structures to improve the performance.

See bug 43911 for a good test document. During import add comma to separator.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to