{"action":"opened","issue":{"url":"https://api.github.com/repos/FourierTransformer/ftcsv/issues/4","repository_url":"https://api.github.com/repos/FourierTransformer/ftcsv","labels_url":"https://api.github.com/repos/FourierTransformer/ftcsv/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/FourierTransformer/ftcsv/issues/4/comments","events_url":"https://api.github.com/repos/FourierTransformer/ftcsv/issues/4/events","html_url":"https://github.com/FourierTransformer/ftcsv/issues/4","id":186113444,"number":4,"title":"Design a clean interface for a fixed-memory reader","user":{"login":"FourierTransformer","id":2665239,"avatar_url":"https://avatars.githubusercontent.com/u/2665239?v=3","gravatar_id":"","url":"https://api.github.com/users/FourierTransformer","html_url":"https://github.com/FourierTransformer","followers_url":"https://api.github.com/users/FourierTransformer/followers","following_url":"https://api.github.com/users/FourierTransformer/following{/other_user}","gists_url":"https://api.github.com/users/FourierTransformer/gists{/gist_id}","starred_url":"https://api.github.com/users/FourierTransformer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FourierTransformer/subscriptions","organizations_url":"https://api.github.com/users/FourierTransformer/orgs","repos_url":"https://api.github.com/users/FourierTransformer/repos","events_url":"https://api.github.com/users/FourierTransformer/events{/privacy}","received_events_url":"https://api.github.com/users/FourierTransformer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-30T02:46:23Z","updated_at":"2016-10-30T02:46:23Z","closed_at":null,"body":"The fixed-memory reader would return a line of parsed data at a time.\r\n\r\nThe `parseString` function already has support for starting at an arbitrary character in the input file. Some tooling would have to be put in place to load chunks of the file at a time. It will likely be easiest to continue parsing the chunk until a whole line cannot be parsed, appending the new chunk, and restart parsing at the beginning of the line while removing already parsed lines.\r\n\r\nThis should prevent having to store excessive state information (partially parsed lines) and would allow buffering a few lines worth of information. It also enforces that the minimum buffer length is greater than or equal to the maximum row size to remain parseable."}}
{"actor":{"display_login":"FourierTransformer"}}