{"action":"created","issue":{"url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/issues/28","labels_url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/issues/28/comments","events_url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/issues/28/events","html_url":"https://github.com/yojimbo87/ArangoDB-NET/pull/28","id":117799278,"number":28,"title":"New method: ToListFast<T> uses fastJSON to deserialize much quicker","user":{"login":"specimen151","id":3056108,"avatar_url":"https://avatars.githubusercontent.com/u/3056108?v=3","gravatar_id":"","url":"https://api.github.com/users/specimen151","html_url":"https://github.com/specimen151","followers_url":"https://api.github.com/users/specimen151/followers","following_url":"https://api.github.com/users/specimen151/following{/other_user}","gists_url":"https://api.github.com/users/specimen151/gists{/gist_id}","starred_url":"https://api.github.com/users/specimen151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/specimen151/subscriptions","organizations_url":"https://api.github.com/users/specimen151/orgs","repos_url":"https://api.github.com/users/specimen151/repos","events_url":"https://api.github.com/users/specimen151/events{/privacy}","received_events_url":"https://api.github.com/users/specimen151/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T12:01:13Z","updated_at":"2015-11-19T14:21:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/pulls/28","html_url":"https://github.com/yojimbo87/ArangoDB-NET/pull/28","diff_url":"https://github.com/yojimbo87/ArangoDB-NET/pull/28.diff","patch_url":"https://github.com/yojimbo87/ArangoDB-NET/pull/28.patch"},"body":"Hi. I noticed that the current AQuery.ToList&lt;T&gt; is very slow. So I made this new method instead, which use the fastJSON already used in the project. When profiling with Visual Studio, for my example collection (400 lines pretty print JSON) it was up to 40x quicker.\r\n\r\nThe best solution would of course be to rewrite the AQuery.ToList&lt;T&gt; instead of creating a new method, but I leave that up to you, because I haven't had the time to really grok you code, so maybe my ToListFast has a hug bug I don't know about..."},"comment":{"url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/issues/comments/158071194","html_url":"https://github.com/yojimbo87/ArangoDB-NET/pull/28#issuecomment-158071194","issue_url":"https://api.github.com/repos/yojimbo87/ArangoDB-NET/issues/28","id":158071194,"user":{"login":"specimen151","id":3056108,"avatar_url":"https://avatars.githubusercontent.com/u/3056108?v=3","gravatar_id":"","url":"https://api.github.com/users/specimen151","html_url":"https://github.com/specimen151","followers_url":"https://api.github.com/users/specimen151/followers","following_url":"https://api.github.com/users/specimen151/following{/other_user}","gists_url":"https://api.github.com/users/specimen151/gists{/gist_id}","starred_url":"https://api.github.com/users/specimen151/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/specimen151/subscriptions","organizations_url":"https://api.github.com/users/specimen151/orgs","repos_url":"https://api.github.com/users/specimen151/repos","events_url":"https://api.github.com/users/specimen151/events{/privacy}","received_events_url":"https://api.github.com/users/specimen151/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:21:02Z","updated_at":"2015-11-19T14:21:02Z","body":"I created a second commit, in which the original ToObject&lt;T&gt; is much quicker (but still only half as quick as ToObjectFast). What I did was to remove Exception's as the means to report missing fields. Visual Studio Profiler reported \"# of Exceps Thrown / Sec high\". It is much quicker without all the exceptions, and my personal opinion is that when checking if a field exists, it is not an exceptional event if it doesn't exist, more like \"yes/no\". But that's my opinion of course."}}