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 <[EMAIL PROTECTED]> 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.

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to