Daniel J Sebald wrote:
> Daniel J Sebald wrote:
>
>> PS: This is one slow function. Really bogs down programs working with
>> a lot of data.
>>
>
> As an example, consider the amount of time on my machine it takes to compute
> 200 date vectors:
>
> octave:25> S = repmat('2008-12-11', 200, 1);
> octave:26> ts = cputime(); datevec(S, 'yyyy-mm-dd'); cputime() - ts
> ans = 14.372
>
> Is there anyone familiar with the routine who can explain why the datevec
> conversion takes 7/100 of a second?
Hi Dan,
I think that it's primarily the time in string processing, but it's been
a while since I've looked at the function.
Have a good day,
Bill
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev