{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/3146","labels_url":"https://api.github.com/repos/nim-lang/Nim/issues/3146/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/Nim/issues/3146/comments","events_url":"https://api.github.com/repos/nim-lang/Nim/issues/3146/events","html_url":"https://github.com/nim-lang/Nim/pull/3146","id":97115671,"number":3146,"title":"Add MemFile text interface factored so users can optionally skip Nim …","user":{"login":"c-blake","id":8928205,"avatar_url":"https://avatars.githubusercontent.com/u/8928205?v=3","gravatar_id":"","url":"https://api.github.com/users/c-blake","html_url":"https://github.com/c-blake","followers_url":"https://api.github.com/users/c-blake/followers","following_url":"https://api.github.com/users/c-blake/following{/other_user}","gists_url":"https://api.github.com/users/c-blake/gists{/gist_id}","starred_url":"https://api.github.com/users/c-blake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-blake/subscriptions","organizations_url":"https://api.github.com/users/c-blake/orgs","repos_url":"https://api.github.com/users/c-blake/repos","events_url":"https://api.github.com/users/c-blake/events{/privacy}","received_events_url":"https://api.github.com/users/c-blake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-24T18:52:19Z","updated_at":"2015-08-02T09:13:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nim-lang/Nim/pulls/3146","html_url":"https://github.com/nim-lang/Nim/pull/3146","diff_url":"https://github.com/nim-lang/Nim/pull/3146.diff","patch_url":"https://github.com/nim-lang/Nim/pull/3146.patch"},"body":"…string\r\n\r\nconstruction (e.g. to filter many lines out before building strings).  Only\r\nWindows and/or Unix line endings are supported by default, though fiddling\r\nwith delim/eat arguments can probably support archaic MacOS9 files.\r\n\r\n[ There is no SSE-optimized \"mempbrk/memcspn\" analogue to strpbrk or strcspn\r\n to make supporting all line ending styles both easy and super efficient. ]\r\n\r\nIn my timings, string construction is 2/3 of a trivial test program which means the\r\nfactoring allows some things to be 3X faster.\r\n\r\nSome existing type may be more desirable than the local Record type."},"comment":{"url":"https://api.github.com/repos/nim-lang/Nim/issues/comments/127001137","html_url":"https://github.com/nim-lang/Nim/pull/3146#issuecomment-127001137","issue_url":"https://api.github.com/repos/nim-lang/Nim/issues/3146","id":127001137,"user":{"login":"Araq","id":287816,"avatar_url":"https://avatars.githubusercontent.com/u/287816?v=3","gravatar_id":"","url":"https://api.github.com/users/Araq","html_url":"https://github.com/Araq","followers_url":"https://api.github.com/users/Araq/followers","following_url":"https://api.github.com/users/Araq/following{/other_user}","gists_url":"https://api.github.com/users/Araq/gists{/gist_id}","starred_url":"https://api.github.com/users/Araq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Araq/subscriptions","organizations_url":"https://api.github.com/users/Araq/orgs","repos_url":"https://api.github.com/users/Araq/repos","events_url":"https://api.github.com/users/Araq/events{/privacy}","received_events_url":"https://api.github.com/users/Araq/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T09:13:08Z","updated_at":"2015-08-02T09:13:08Z","body":"Requires tests. Fixing toNimStr could be a separate PR. 'unchecked' for object has no semantics."}}