{"action":"created","issue":{"url":"https://api.github.com/repos/scodec/scodec-bits/issues/17","labels_url":"https://api.github.com/repos/scodec/scodec-bits/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/scodec/scodec-bits/issues/17/comments","events_url":"https://api.github.com/repos/scodec/scodec-bits/issues/17/events","html_url":"https://github.com/scodec/scodec-bits/issues/17","id":39909013,"number":17,"title":"ByteVector should be Long indexed to allow working with vectors over 2g","user":{"login":"mpilquist","id":118078,"avatar_url":"https://avatars.githubusercontent.com/u/118078?v=3","gravatar_id":"","url":"https://api.github.com/users/mpilquist","html_url":"https://github.com/mpilquist","followers_url":"https://api.github.com/users/mpilquist/followers","following_url":"https://api.github.com/users/mpilquist/following{/other_user}","gists_url":"https://api.github.com/users/mpilquist/gists{/gist_id}","starred_url":"https://api.github.com/users/mpilquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpilquist/subscriptions","organizations_url":"https://api.github.com/users/mpilquist/orgs","repos_url":"https://api.github.com/users/mpilquist/repos","events_url":"https://api.github.com/users/mpilquist/events{/privacy}","received_events_url":"https://api.github.com/users/mpilquist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-10T14:36:56Z","updated_at":"2015-05-24T12:40:17Z","closed_at":null,"body":"Currently, BitVector is Long indexed whereas ByteVector is Int indexed. We should consider making ByteVector Long indexed to remove the 2g limitation.\r\n\r\nThis came up in https://github.com/scodec/scodec/issues/9.\r\n\r\nIf I recall correctly, we left ByteVector Int indexed because all of the source data structures are Int indexed (e.g., Array, ByteBuffer, GenTraversableOnce). However, I'd like to support getting a ByteVector for a memory mapped file that's over 2g -- using a ByteVector that's backed by a chunk list where each chunk is a memory mapped offset.\r\n\r\nAlternatively, if we decide to leave ByteVector as Int indexed, I'd like to capture the rationale here."},"comment":{"url":"https://api.github.com/repos/scodec/scodec-bits/issues/comments/105010829","html_url":"https://github.com/scodec/scodec-bits/issues/17#issuecomment-105010829","issue_url":"https://api.github.com/repos/scodec/scodec-bits/issues/17","id":105010829,"user":{"login":"mpilquist","id":118078,"avatar_url":"https://avatars.githubusercontent.com/u/118078?v=3","gravatar_id":"","url":"https://api.github.com/users/mpilquist","html_url":"https://github.com/mpilquist","followers_url":"https://api.github.com/users/mpilquist/followers","following_url":"https://api.github.com/users/mpilquist/following{/other_user}","gists_url":"https://api.github.com/users/mpilquist/gists{/gist_id}","starred_url":"https://api.github.com/users/mpilquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpilquist/subscriptions","organizations_url":"https://api.github.com/users/mpilquist/orgs","repos_url":"https://api.github.com/users/mpilquist/repos","events_url":"https://api.github.com/users/mpilquist/events{/privacy}","received_events_url":"https://api.github.com/users/mpilquist/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T12:40:17Z","updated_at":"2015-05-24T12:40:17Z","body":"@djspiewak Not particularly, though I did recently discuss this with @pchiusano. To minimize disruption, I'm planning on releasing this such that it can be included as part of the scalaz-stream release post new algebra and project rename, etc."}}