You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "dkuppitz (GitHub)" <gi...@apache.org> on 2018/12/13 17:53:41 UTC
[GitHub] [tinkerpop] dkuppitz commented on pull request #1018:
TINKERPOP-2111 Added BulkSet as a GraphSON Type
The whole loop and remapping can be simplified to:
```
return Enumerable.Range(0, jArray.Count / 2).SelectMany(i =>
Enumerable.Repeat(reader.ToObject(jArray[i * 2]), (int) reader.ToObject(jArray[i * 2 + 1]))).
ToList();
```
[ Full content available at: https://github.com/apache/tinkerpop/pull/1018 ]
This message was relayed via gitbox.apache.org for dev@tinkerpop.apache.org