{"comment":{"url":"https://api.github.com/repos/dain/presto/comments/13228053","html_url":"https://github.com/dain/presto/commit/1f2f3c368dd6f1a4bb99f81355da3a9e9325a828#commitcomment-13228053","id":13228053,"user":{"login":"dain","id":58298,"avatar_url":"https://avatars.githubusercontent.com/u/58298?v=3","gravatar_id":"","url":"https://api.github.com/users/dain","html_url":"https://github.com/dain","followers_url":"https://api.github.com/users/dain/followers","following_url":"https://api.github.com/users/dain/following{/other_user}","gists_url":"https://api.github.com/users/dain/gists{/gist_id}","starred_url":"https://api.github.com/users/dain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dain/subscriptions","organizations_url":"https://api.github.com/users/dain/orgs","repos_url":"https://api.github.com/users/dain/repos","events_url":"https://api.github.com/users/dain/events{/privacy}","received_events_url":"https://api.github.com/users/dain/received_events","type":"User","site_admin":false},"position":38,"line":72,"path":"presto-orc/src/main/java/com/facebook/presto/orc/stream/DoubleStream.java","commit_id":"1f2f3c368dd6f1a4bb99f81355da3a9e9325a828","created_at":"2015-09-15T03:20:17Z","updated_at":"2015-09-15T03:20:17Z","body":"In the old code (before the block change) we could allocate a single, reasonably sized, buffer, but now we don't know how the temporary buffer will be.  So instead, I read one entry at a time and rely on the fact that the input stream is buffered internally."}}