{"action":"created","issue":{"url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/issues/61","repository_url":"https://api.github.com/repos/Afforess/Factorio-Stdlib","labels_url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/issues/61/comments","events_url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/issues/61/events","html_url":"https://github.com/Afforess/Factorio-Stdlib/issues/61","id":189874486,"number":61,"title":"Implement iterator API for functional methods (.each/filter/map) to improve performance","user":{"login":"Xuerian","id":2985,"avatar_url":"https://avatars.githubusercontent.com/u/2985?v=3","gravatar_id":"","url":"https://api.github.com/users/Xuerian","html_url":"https://github.com/Xuerian","followers_url":"https://api.github.com/users/Xuerian/followers","following_url":"https://api.github.com/users/Xuerian/following{/other_user}","gists_url":"https://api.github.com/users/Xuerian/gists{/gist_id}","starred_url":"https://api.github.com/users/Xuerian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xuerian/subscriptions","organizations_url":"https://api.github.com/users/Xuerian/orgs","repos_url":"https://api.github.com/users/Xuerian/repos","events_url":"https://api.github.com/users/Xuerian/events{/privacy}","received_events_url":"https://api.github.com/users/Xuerian/received_events","type":"User","site_admin":false},"labels":[{"id":353289576,"url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":353289577,"url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-16T22:52:51Z","updated_at":"2016-11-21T03:23:14Z","closed_at":null,"body":"Here: https://github.com/Afforess/Factorio-Stdlib/wiki#avoiding-iteration-and-general-stdlib-tools\r\n\r\nWhich is an excellent suggestion for low-weight code, but have you compared them in hot paths?\r\n\r\nGeneral consensus in WoW modding is that it's worth avoiding as much overhead as possible in such areas, even things like for i/# vs ipairs. Maybe worth adding a note there, if the same is true here?"},"comment":{"url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/issues/comments/261833558","html_url":"https://github.com/Afforess/Factorio-Stdlib/issues/61#issuecomment-261833558","issue_url":"https://api.github.com/repos/Afforess/Factorio-Stdlib/issues/61","id":261833558,"user":{"login":"Afforess","id":513639,"avatar_url":"https://avatars.githubusercontent.com/u/513639?v=3","gravatar_id":"","url":"https://api.github.com/users/Afforess","html_url":"https://github.com/Afforess","followers_url":"https://api.github.com/users/Afforess/followers","following_url":"https://api.github.com/users/Afforess/following{/other_user}","gists_url":"https://api.github.com/users/Afforess/gists{/gist_id}","starred_url":"https://api.github.com/users/Afforess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Afforess/subscriptions","organizations_url":"https://api.github.com/users/Afforess/orgs","repos_url":"https://api.github.com/users/Afforess/repos","events_url":"https://api.github.com/users/Afforess/events{/privacy}","received_events_url":"https://api.github.com/users/Afforess/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T03:23:14Z","updated_at":"2016-11-21T03:23:14Z","body":"I wrote an early proof-of-concept but its performance is actually _worse_ than straight tables (see the busted tests for a benchmark) and won't make the cut as is.\r\n\r\nhttps://github.com/Afforess/Factorio-Stdlib/blob/master/stdlib/iterator.lua"}}
{"actor":{"display_login":"Afforess"}}