- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Why is there an implicit Array.Projection[E] => Array[E] conversion?
Tue, 2009-03-10, 19:40
I was kind of surprised when I passed the result of Array.slice to a method taking an Array. Since this conversion makes a copy of the data, it seems like the sort of feature that could silently cause performance bugs!
Should I file a ticket for this?
Paul
Mon, 2009-03-16, 12:47
#2
Re: Why is there an implicit Array.Projection[E] => Array[E] c
On Tue, Mar 10, 2009 at 7:34 PM, Paul Chiusano wrote:
> I was kind of surprised when I passed the result of Array.slice to a method
> taking an Array. Since this conversion makes a copy of the data, it seems
> like the sort of feature that could silently cause performance bugs!
>
> Should I file a ticket for this?
Maybe not right now. The whole projection thing will be redesigned anyway.
I'll keep in mind what you wrote when I get to it.
Cheers
Link: http://www.nabble.com/Scaling-problems-for-Array.slice-on-large-arrays-to21638762.html
On Tue, Mar 10, 2009 at 7:34 PM, Paul Chiusano <paul.chiusano@gmail.com> wrote: