{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/3226","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/3226/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3226/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/3226/events","html_url":"https://github.com/kripken/emscripten/issues/3226","id":59732304,"number":3226,"title":"Possible embind optimization","user":{"login":"neon12345","id":784389,"avatar_url":"https://avatars.githubusercontent.com/u/784389?v=3","gravatar_id":"","url":"https://api.github.com/users/neon12345","html_url":"https://github.com/neon12345","followers_url":"https://api.github.com/users/neon12345/followers","following_url":"https://api.github.com/users/neon12345/following{/other_user}","gists_url":"https://api.github.com/users/neon12345/gists{/gist_id}","starred_url":"https://api.github.com/users/neon12345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neon12345/subscriptions","organizations_url":"https://api.github.com/users/neon12345/orgs","repos_url":"https://api.github.com/users/neon12345/repos","events_url":"https://api.github.com/users/neon12345/events{/privacy}","received_events_url":"https://api.github.com/users/neon12345/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-04T00:39:00Z","updated_at":"2015-03-07T07:09:48Z","closed_at":null,"body":"Embind often creates JavaScript functions with the same body but different names from the templates in wire.h. Like the convertPointer templates which are registered with a ptr to function with embind.\r\n\r\nIs this optimized in any way? Isn't it possible to remove these duplicates with a single function when type info is removed by js what makes them identical functions?"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/77677352","html_url":"https://github.com/kripken/emscripten/issues/3226#issuecomment-77677352","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/3226","id":77677352,"user":{"login":"chadaustin","id":59987,"avatar_url":"https://avatars.githubusercontent.com/u/59987?v=3","gravatar_id":"","url":"https://api.github.com/users/chadaustin","html_url":"https://github.com/chadaustin","followers_url":"https://api.github.com/users/chadaustin/followers","following_url":"https://api.github.com/users/chadaustin/following{/other_user}","gists_url":"https://api.github.com/users/chadaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/chadaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadaustin/subscriptions","organizations_url":"https://api.github.com/users/chadaustin/orgs","repos_url":"https://api.github.com/users/chadaustin/repos","events_url":"https://api.github.com/users/chadaustin/events{/privacy}","received_events_url":"https://api.github.com/users/chadaustin/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T07:09:48Z","updated_at":"2015-03-07T07:09:48Z","body":"Agreed.  It would be awesome if clang provided a way to set that attribute from source code.\r\n"}}