Re: How do you cast to array?
From: Neal Gafter (neal.gafter_at_gmail.com)
Date: 01/07/05
- Next message: Roja: "problem while regenerating jpg file from swing image."
- Previous message: yzzzzz: "Tomcat/Struts interpret form data as ISO-8859-1"
- In reply to: Gerbrand van Dieijen: "Re: How do you cast to array?"
- Next in thread: Gerbrand van Dieijen: "Re: How do you cast to array?"
- Reply: Gerbrand van Dieijen: "Re: How do you cast to array?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Jan 2005 20:57:12 -0800
Yes, I checked this when I implemened the new foreach loop. We had
a debate as to whether we should do anything about it. We decided not
to,
but you can often recover the performance, and more, by doing
List.toArray
before iterating.
- Next message: Roja: "problem while regenerating jpg file from swing image."
- Previous message: yzzzzz: "Tomcat/Struts interpret form data as ISO-8859-1"
- In reply to: Gerbrand van Dieijen: "Re: How do you cast to array?"
- Next in thread: Gerbrand van Dieijen: "Re: How do you cast to array?"
- Reply: Gerbrand van Dieijen: "Re: How do you cast to array?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|