[Newbies] Efficient date parsing

stan shepherd squeak414 at free.fr
Thu Apr 3 07:20:32 UTC 2008


Thanks Randal and Ramon. That's about three times quicker; most of the
improvement seems to be in the caching.
...Stan

Randal L. Schwartz wrote:
> 
>>>>>> "Ramon" == Ramon Leon <ramon.leon at allresnet.com> writes:
> 
> Ramon> Or more idiomatic...
> 
> Ramon> ^dateCache at: dateString ifAbsentPut: [Date from: dateString].
> 
> Yeah, shortly after I posted that, I remembered that. :)
> 
> 

-- 
View this message in context: http://www.nabble.com/Efficient-date-parsing-tp16450393p16466974.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.



More information about the Beginners mailing list