{"action":"opened","issue":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/6513","repository_url":"https://api.github.com/repos/pantsbuild/pants","labels_url":"https://api.github.com/repos/pantsbuild/pants/issues/6513/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/6513/comments","events_url":"https://api.github.com/repos/pantsbuild/pants/issues/6513/events","html_url":"https://github.com/pantsbuild/pants/issues/6513","id":361071996,"node_id":"MDU6SXNzdWUzNjEwNzE5OTY=","number":6513,"title":"maybe cache stable_json_sha1() with the python 3 @lru_cache","user":{"login":"cosmicexplorer","id":1305167,"node_id":"MDQ6VXNlcjEzMDUxNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/1305167?v=4","gravatar_id":"","url":"https://api.github.com/users/cosmicexplorer","html_url":"https://github.com/cosmicexplorer","followers_url":"https://api.github.com/users/cosmicexplorer/followers","following_url":"https://api.github.com/users/cosmicexplorer/following{/other_user}","gists_url":"https://api.github.com/users/cosmicexplorer/gists{/gist_id}","starred_url":"https://api.github.com/users/cosmicexplorer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosmicexplorer/subscriptions","organizations_url":"https://api.github.com/users/cosmicexplorer/orgs","repos_url":"https://api.github.com/users/cosmicexplorer/repos","events_url":"https://api.github.com/users/cosmicexplorer/events{/privacy}","received_events_url":"https://api.github.com/users/cosmicexplorer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T22:44:44Z","updated_at":"2018-09-17T22:44:44Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There's some discussion in #6475 on the potential future use of [python 3's `@lru_cache` decorator](https://docs.python.org/3.7/library/functools.html#functools.lru_cache) for `stable_json_sha1()`. Depending on our implementation of options fingerprinting, there may be enough objects that are repeatedly hashed to make this decorator useful. As described in the documentation, the size of the cache can be tuned to suit our use case."}}
{"actor":{"display_login":"cosmicexplorer"}}