On Tue, 2010-12-14 at 15:19 +0530, Muthu Subramanian K wrote:
> Hi Kohei,
> 
> Is there a specific reason why functions like:
> rStr.EraseLeadingAndTrailingChars() weren't used on the string?
> [ then something like n=rStr.getLength() if(!n) return false; ]

If we do that we'd be parsing the same character sequence twice in each
number cell, which will make the import slower, especially with large
csv files.

So, this is the reason why I avoid it.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc
<kyosh...@novell.com>

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to