Commits

Liam Staskawicz  committed e1824f1

* use Map.vals instead of iterating

  • Participants
  • Parent commits 6683548

Comments (0)

Files changed (1)

File 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)
   }