Commits

Liam Staskawicz committed e1824f1

* use Map.vals instead of iterating

Comments (0)

Files changed (1)

fan/bson/BsonReader.fan

     name := readCStr(ins)
     arr := Str:Obj?[:] { ordered = true }
     arraylen := readObject(ins, arr)
-    list := [,]
-    arr.each |val, key| { list.add(val) }
-    bson[name] = list
+    bson[name] = arr.vals
     return remaining - (name.size + 1 + arraylen)
   }