payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/googleapis/proto-plus-python/issues/24","repository_url":"https://api.github.com/repos/googleapis/proto-plus-python","labels_url":"https://api.github.com/repos/googleapis/proto-plus-python/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/proto-plus-python/issues/24/comments","events_url":"https://api.github.com/repos/googleapis/proto-plus-python/issues/24/events","html_url":"https://github.com/googleapis/proto-plus-python/issues/24","id":547308408,"node_id":"MDU6SXNzdWU1NDczMDg0MDg=","number":24,"title":"take a lot of time to loop empty repeated filed","user":{"login":"chaserchen","id":7067965,"node_id":"MDQ6VXNlcjcwNjc5NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7067965?v=4","gravatar_id":"","url":"https://api.github.com/users/chaserchen","html_url":"https://github.com/chaserchen","followers_url":"https://api.github.com/users/chaserchen/followers","following_url":"https://api.github.com/users/chaserchen/following{/other_user}","gists_url":"https://api.github.com/users/chaserchen/gists{/gist_id}","starred_url":"https://api.github.com/users/chaserchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaserchen/subscriptions","organizations_url":"https://api.github.com/users/chaserchen/orgs","repos_url":"https://api.github.com/users/chaserchen/repos","events_url":"https://api.github.com/users/chaserchen/events{/privacy}","received_events_url":"https://api.github.com/users/chaserchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2020-01-09T07:48:51Z","updated_at":"2020-01-09T07:48:51Z","closed_at":null,"author_association":"NONE","body":"**Version:**\r\npython 3.6.6\r\ngoogleapis-common-protos  1.6.0  \r\nproto-plus                0.4.0  \r\nprotobuf                  3.11.2\r\n\r\nIn my test, It take about 100ms to loop the empty repeated filed. It is normal on non-empty repeated filed.\r\n**Messge example:**  \r\n```python  \r\nclass ListVisitorsResponse(proto.Message):  \r\n    visitors = proto.RepeatedField(proto.MESSAGE, number=1,  \r\n        message=lpv_visitor.Visitor,  \r\n    )  \r\n    next_page_token = proto.Field(proto.STRING, number=2)  \r\n    total_size = proto.Field(proto.INT32, number=3)  \r\n```\r\n**Test example:**\r\n```python\r\n>>> resp = ListVisitorsResponse(visitors=[])\r\n>>> def test():print(time.time()); [v for v in resp.visitors]; print(time.time())\r\n>>> test()\r\n1578555716.0656524\r\n1578555716.1353867\r\n ```\r\nI'm very puzzled about this, can you look at it for me."}}
other: {"actor":{"display_login":"chaserchen"}}