[Swift-devel] Re: Criteria for rollout

Mihael Hategan hategan at mcs.anl.gov
Thu Jan 10 17:59:19 CST 2008


On Thu, 2008-01-10 at 23:53 +0000, Ben Clifford wrote:
> On Thu, 10 Jan 2008, Mihael Hategan wrote:
> 
> > Hah. Got it. Looks like when passing an array as a parameter to an app
> > in Swift, the order is not preserved. So there is a mismatch between the
> > cpld frequencies and the files.
> 
> Array as in @filenames of an array or actually passing an array?

Another good point. @filenames. But then looking at the code for passing
an array, it doesn't seem like it keeps any particular order either:

if (handle.getType().isArray()) {
  Map value = handle.getArrayValue();
  if (handle.isClosed()) {
    return new PairIterator(value);
...
public PairIterator(Map map) {
  this.it = map.entrySet().iterator();

However, @filenames hurts. The other one not as much.

> 




More information about the Swift-devel mailing list