Nothing surprising here for me.
The reason is that an array is really simple (e.g., fixed size, easy to access 
element, which does not require to send message from the VM), while an ordered 
collection is more complex and the VM does not support direct operations on it.

The VM knows how to deal with Array, but it does not know how an ordered 
collection works.

Alexandre


On Nov 1, 2013, at 11:01 AM, Benjamin <[email protected]> 
wrote:

> Hello guys,
> 
> is it expected that
> 
> 1 perform: #gcd: withArguments: {2} 
> works
> 
> while
> 
> 1 perform: #gcd: withArguments: {2} asOrderedCollection
> fails ?
> 
> 
> Ben
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to