{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/7","id":241925581,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxOTI1NTgx","html_url":"https://github.com/SDWebImage/SDWebImageFLPlugin/pull/7","diff_url":"https://github.com/SDWebImage/SDWebImageFLPlugin/pull/7.diff","patch_url":"https://github.com/SDWebImage/SDWebImageFLPlugin/pull/7.patch","issue_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/7","number":7,"state":"open","locked":false,"title":"Adopt SDWebImage's memory cache cost function, fix the nullable issue","user":{"login":"dreampiggy","id":6919743,"node_id":"MDQ6VXNlcjY5MTk3NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/6919743?v=4","gravatar_id":"","url":"https://api.github.com/users/dreampiggy","html_url":"https://github.com/dreampiggy","followers_url":"https://api.github.com/users/dreampiggy/followers","following_url":"https://api.github.com/users/dreampiggy/following{/other_user}","gists_url":"https://api.github.com/users/dreampiggy/gists{/gist_id}","starred_url":"https://api.github.com/users/dreampiggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreampiggy/subscriptions","organizations_url":"https://api.github.com/users/dreampiggy/orgs","repos_url":"https://api.github.com/users/dreampiggy/repos","events_url":"https://api.github.com/users/dreampiggy/events{/privacy}","received_events_url":"https://api.github.com/users/dreampiggy/received_events","type":"User","site_admin":false},"body":"See SDWebImage/SDWebImage#2568\r\n\r\nThis PR add the memory cache cost function for custom image class `SDFLAnimatedImage`. Which is a wrapper for `FLAnimatedImage`. It store a internal frame buffer (called `window`) with a limit size.","created_at":"2019-01-03T07:55:22Z","updated_at":"2019-01-03T07:55:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/7/commits","review_comments_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/7/comments","review_comment_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/7/comments","statuses_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/statuses/0434d3fa4148ae9de83cf4bc94540ee98f2a184a","head":{"label":"SDWebImage:feature_cache_cost_function","ref":"feature_cache_cost_function","sha":"0434d3fa4148ae9de83cf4bc94540ee98f2a184a","user":{"login":"SDWebImage","id":33113626,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTEzNjI2","avatar_url":"https://avatars2.githubusercontent.com/u/33113626?v=4","gravatar_id":"","url":"https://api.github.com/users/SDWebImage","html_url":"https://github.com/SDWebImage","followers_url":"https://api.github.com/users/SDWebImage/followers","following_url":"https://api.github.com/users/SDWebImage/following{/other_user}","gists_url":"https://api.github.com/users/SDWebImage/gists{/gist_id}","starred_url":"https://api.github.com/users/SDWebImage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDWebImage/subscriptions","organizations_url":"https://api.github.com/users/SDWebImage/orgs","repos_url":"https://api.github.com/users/SDWebImage/repos","events_url":"https://api.github.com/users/SDWebImage/events{/privacy}","received_events_url":"https://api.github.com/users/SDWebImage/received_events","type":"Organization","site_admin":false},"repo":{"id":132426777,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI0MjY3Nzc=","name":"SDWebImageFLPlugin","full_name":"SDWebImage/SDWebImageFLPlugin","private":false,"owner":{"login":"SDWebImage","id":33113626,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTEzNjI2","avatar_url":"https://avatars2.githubusercontent.com/u/33113626?v=4","gravatar_id":"","url":"https://api.github.com/users/SDWebImage","html_url":"https://github.com/SDWebImage","followers_url":"https://api.github.com/users/SDWebImage/followers","following_url":"https://api.github.com/users/SDWebImage/following{/other_user}","gists_url":"https://api.github.com/users/SDWebImage/gists{/gist_id}","starred_url":"https://api.github.com/users/SDWebImage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDWebImage/subscriptions","organizations_url":"https://api.github.com/users/SDWebImage/orgs","repos_url":"https://api.github.com/users/SDWebImage/repos","events_url":"https://api.github.com/users/SDWebImage/events{/privacy}","received_events_url":"https://api.github.com/users/SDWebImage/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SDWebImage/SDWebImageFLPlugin","description":"A SDWebImage plugin to support FLAnimatedImage via category","fork":false,"url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin","forks_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/forks","keys_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/teams","hooks_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/hooks","issue_events_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/events{/number}","events_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/events","assignees_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/assignees{/user}","branches_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/branches{/branch}","tags_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/tags","blobs_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/languages","stargazers_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/stargazers","contributors_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/contributors","subscribers_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/subscribers","subscription_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/subscription","commits_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/contents/{+path}","compare_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/merges","archive_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/downloads","issues_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues{/number}","pulls_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/labels{/name}","releases_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/releases{/id}","deployments_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/deployments","created_at":"2018-05-07T07:57:57Z","updated_at":"2018-10-26T10:25:09Z","pushed_at":"2019-01-03T07:54:11Z","git_url":"git://github.com/SDWebImage/SDWebImageFLPlugin.git","ssh_url":"git@github.com:SDWebImage/SDWebImageFLPlugin.git","clone_url":"https://github.com/SDWebImage/SDWebImageFLPlugin.git","svn_url":"https://github.com/SDWebImage/SDWebImageFLPlugin","homepage":null,"size":66,"stargazers_count":3,"watchers_count":3,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"SDWebImage:master","ref":"master","sha":"e351c1de14517f5c9f5bb1cd936f5dd5e9acebf8","user":{"login":"SDWebImage","id":33113626,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTEzNjI2","avatar_url":"https://avatars2.githubusercontent.com/u/33113626?v=4","gravatar_id":"","url":"https://api.github.com/users/SDWebImage","html_url":"https://github.com/SDWebImage","followers_url":"https://api.github.com/users/SDWebImage/followers","following_url":"https://api.github.com/users/SDWebImage/following{/other_user}","gists_url":"https://api.github.com/users/SDWebImage/gists{/gist_id}","starred_url":"https://api.github.com/users/SDWebImage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDWebImage/subscriptions","organizations_url":"https://api.github.com/users/SDWebImage/orgs","repos_url":"https://api.github.com/users/SDWebImage/repos","events_url":"https://api.github.com/users/SDWebImage/events{/privacy}","received_events_url":"https://api.github.com/users/SDWebImage/received_events","type":"Organization","site_admin":false},"repo":{"id":132426777,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI0MjY3Nzc=","name":"SDWebImageFLPlugin","full_name":"SDWebImage/SDWebImageFLPlugin","private":false,"owner":{"login":"SDWebImage","id":33113626,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTEzNjI2","avatar_url":"https://avatars2.githubusercontent.com/u/33113626?v=4","gravatar_id":"","url":"https://api.github.com/users/SDWebImage","html_url":"https://github.com/SDWebImage","followers_url":"https://api.github.com/users/SDWebImage/followers","following_url":"https://api.github.com/users/SDWebImage/following{/other_user}","gists_url":"https://api.github.com/users/SDWebImage/gists{/gist_id}","starred_url":"https://api.github.com/users/SDWebImage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDWebImage/subscriptions","organizations_url":"https://api.github.com/users/SDWebImage/orgs","repos_url":"https://api.github.com/users/SDWebImage/repos","events_url":"https://api.github.com/users/SDWebImage/events{/privacy}","received_events_url":"https://api.github.com/users/SDWebImage/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SDWebImage/SDWebImageFLPlugin","description":"A SDWebImage plugin to support FLAnimatedImage via category","fork":false,"url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin","forks_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/forks","keys_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/teams","hooks_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/hooks","issue_events_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/events{/number}","events_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/events","assignees_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/assignees{/user}","branches_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/branches{/branch}","tags_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/tags","blobs_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/languages","stargazers_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/stargazers","contributors_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/contributors","subscribers_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/subscribers","subscription_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/subscription","commits_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/contents/{+path}","compare_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/merges","archive_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/downloads","issues_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues{/number}","pulls_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/labels{/name}","releases_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/releases{/id}","deployments_url":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/deployments","created_at":"2018-05-07T07:57:57Z","updated_at":"2018-10-26T10:25:09Z","pushed_at":"2019-01-03T07:54:11Z","git_url":"git://github.com/SDWebImage/SDWebImageFLPlugin.git","ssh_url":"git@github.com:SDWebImage/SDWebImageFLPlugin.git","clone_url":"https://github.com/SDWebImage/SDWebImageFLPlugin.git","svn_url":"https://github.com/SDWebImage/SDWebImageFLPlugin","homepage":null,"size":66,"stargazers_count":3,"watchers_count":3,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/7"},"html":{"href":"https://github.com/SDWebImage/SDWebImageFLPlugin/pull/7"},"issue":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/7"},"comments":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/SDWebImage/SDWebImageFLPlugin/statuses/0434d3fa4148ae9de83cf4bc94540ee98f2a184a"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":28,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"dreampiggy"}}