{"action":"opened","number":503,"pull_request":{"url":"https://api.github.com/repos/crossbario/crossbar/pulls/503","id":49474705,"html_url":"https://github.com/crossbario/crossbar/pull/503","diff_url":"https://github.com/crossbario/crossbar/pull/503.diff","patch_url":"https://github.com/crossbario/crossbar/pull/503.patch","issue_url":"https://api.github.com/repos/crossbario/crossbar/issues/503","number":503,"state":"open","locked":false,"title":"use efficient pattern matcher for wildcard subscriptions","user":{"login":"yoch","id":795960,"avatar_url":"https://avatars.githubusercontent.com/u/795960?v=3","gravatar_id":"","url":"https://api.github.com/users/yoch","html_url":"https://github.com/yoch","followers_url":"https://api.github.com/users/yoch/followers","following_url":"https://api.github.com/users/yoch/following{/other_user}","gists_url":"https://api.github.com/users/yoch/gists{/gist_id}","starred_url":"https://api.github.com/users/yoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoch/subscriptions","organizations_url":"https://api.github.com/users/yoch/orgs","repos_url":"https://api.github.com/users/yoch/repos","events_url":"https://api.github.com/users/yoch/events{/privacy}","received_events_url":"https://api.github.com/users/yoch/received_events","type":"User","site_admin":false},"body":"The current implementation for pattern-based subscriptions is very inefficient.\r\n\r\nHere a pull request with a trie-based pattern matcher, tailored for crossbar.io usage. Should be very fast, even with many subscriptions.","created_at":"2015-11-02T19:32:53Z","updated_at":"2015-11-02T19:32:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crossbario/crossbar/pulls/503/commits","review_comments_url":"https://api.github.com/repos/crossbario/crossbar/pulls/503/comments","review_comment_url":"https://api.github.com/repos/crossbario/crossbar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/503/comments","statuses_url":"https://api.github.com/repos/crossbario/crossbar/statuses/aae81b5e019bb34959e63b5757ea54b0d4e0bc39","head":{"label":"yoch:master","ref":"master","sha":"aae81b5e019bb34959e63b5757ea54b0d4e0bc39","user":{"login":"yoch","id":795960,"avatar_url":"https://avatars.githubusercontent.com/u/795960?v=3","gravatar_id":"","url":"https://api.github.com/users/yoch","html_url":"https://github.com/yoch","followers_url":"https://api.github.com/users/yoch/followers","following_url":"https://api.github.com/users/yoch/following{/other_user}","gists_url":"https://api.github.com/users/yoch/gists{/gist_id}","starred_url":"https://api.github.com/users/yoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoch/subscriptions","organizations_url":"https://api.github.com/users/yoch/orgs","repos_url":"https://api.github.com/users/yoch/repos","events_url":"https://api.github.com/users/yoch/events{/privacy}","received_events_url":"https://api.github.com/users/yoch/received_events","type":"User","site_admin":false},"repo":{"id":45416460,"name":"crossbar","full_name":"yoch/crossbar","owner":{"login":"yoch","id":795960,"avatar_url":"https://avatars.githubusercontent.com/u/795960?v=3","gravatar_id":"","url":"https://api.github.com/users/yoch","html_url":"https://github.com/yoch","followers_url":"https://api.github.com/users/yoch/followers","following_url":"https://api.github.com/users/yoch/following{/other_user}","gists_url":"https://api.github.com/users/yoch/gists{/gist_id}","starred_url":"https://api.github.com/users/yoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoch/subscriptions","organizations_url":"https://api.github.com/users/yoch/orgs","repos_url":"https://api.github.com/users/yoch/repos","events_url":"https://api.github.com/users/yoch/events{/privacy}","received_events_url":"https://api.github.com/users/yoch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yoch/crossbar","description":"Crossbar.io - WAMP application router","fork":true,"url":"https://api.github.com/repos/yoch/crossbar","forks_url":"https://api.github.com/repos/yoch/crossbar/forks","keys_url":"https://api.github.com/repos/yoch/crossbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yoch/crossbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yoch/crossbar/teams","hooks_url":"https://api.github.com/repos/yoch/crossbar/hooks","issue_events_url":"https://api.github.com/repos/yoch/crossbar/issues/events{/number}","events_url":"https://api.github.com/repos/yoch/crossbar/events","assignees_url":"https://api.github.com/repos/yoch/crossbar/assignees{/user}","branches_url":"https://api.github.com/repos/yoch/crossbar/branches{/branch}","tags_url":"https://api.github.com/repos/yoch/crossbar/tags","blobs_url":"https://api.github.com/repos/yoch/crossbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yoch/crossbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yoch/crossbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/yoch/crossbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yoch/crossbar/statuses/{sha}","languages_url":"https://api.github.com/repos/yoch/crossbar/languages","stargazers_url":"https://api.github.com/repos/yoch/crossbar/stargazers","contributors_url":"https://api.github.com/repos/yoch/crossbar/contributors","subscribers_url":"https://api.github.com/repos/yoch/crossbar/subscribers","subscription_url":"https://api.github.com/repos/yoch/crossbar/subscription","commits_url":"https://api.github.com/repos/yoch/crossbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/yoch/crossbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/yoch/crossbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/yoch/crossbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/yoch/crossbar/contents/{+path}","compare_url":"https://api.github.com/repos/yoch/crossbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yoch/crossbar/merges","archive_url":"https://api.github.com/repos/yoch/crossbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yoch/crossbar/downloads","issues_url":"https://api.github.com/repos/yoch/crossbar/issues{/number}","pulls_url":"https://api.github.com/repos/yoch/crossbar/pulls{/number}","milestones_url":"https://api.github.com/repos/yoch/crossbar/milestones{/number}","notifications_url":"https://api.github.com/repos/yoch/crossbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yoch/crossbar/labels{/name}","releases_url":"https://api.github.com/repos/yoch/crossbar/releases{/id}","created_at":"2015-11-02T19:22:42Z","updated_at":"2015-11-02T19:22:44Z","pushed_at":"2015-11-02T19:24:57Z","git_url":"git://github.com/yoch/crossbar.git","ssh_url":"git@github.com:yoch/crossbar.git","clone_url":"https://github.com/yoch/crossbar.git","svn_url":"https://github.com/yoch/crossbar","homepage":"http://crossbar.io/","size":22349,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"crossbario:master","ref":"master","sha":"906ad2618cc0eefb44d329d2dbff9d611754c787","user":{"login":"crossbario","id":5656948,"avatar_url":"https://avatars.githubusercontent.com/u/5656948?v=3","gravatar_id":"","url":"https://api.github.com/users/crossbario","html_url":"https://github.com/crossbario","followers_url":"https://api.github.com/users/crossbario/followers","following_url":"https://api.github.com/users/crossbario/following{/other_user}","gists_url":"https://api.github.com/users/crossbario/gists{/gist_id}","starred_url":"https://api.github.com/users/crossbario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossbario/subscriptions","organizations_url":"https://api.github.com/users/crossbario/orgs","repos_url":"https://api.github.com/users/crossbario/repos","events_url":"https://api.github.com/users/crossbario/events{/privacy}","received_events_url":"https://api.github.com/users/crossbario/received_events","type":"Organization","site_admin":false},"repo":{"id":13559106,"name":"crossbar","full_name":"crossbario/crossbar","owner":{"login":"crossbario","id":5656948,"avatar_url":"https://avatars.githubusercontent.com/u/5656948?v=3","gravatar_id":"","url":"https://api.github.com/users/crossbario","html_url":"https://github.com/crossbario","followers_url":"https://api.github.com/users/crossbario/followers","following_url":"https://api.github.com/users/crossbario/following{/other_user}","gists_url":"https://api.github.com/users/crossbario/gists{/gist_id}","starred_url":"https://api.github.com/users/crossbario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossbario/subscriptions","organizations_url":"https://api.github.com/users/crossbario/orgs","repos_url":"https://api.github.com/users/crossbario/repos","events_url":"https://api.github.com/users/crossbario/events{/privacy}","received_events_url":"https://api.github.com/users/crossbario/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crossbario/crossbar","description":"Crossbar.io - WAMP application router","fork":false,"url":"https://api.github.com/repos/crossbario/crossbar","forks_url":"https://api.github.com/repos/crossbario/crossbar/forks","keys_url":"https://api.github.com/repos/crossbario/crossbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crossbario/crossbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crossbario/crossbar/teams","hooks_url":"https://api.github.com/repos/crossbario/crossbar/hooks","issue_events_url":"https://api.github.com/repos/crossbario/crossbar/issues/events{/number}","events_url":"https://api.github.com/repos/crossbario/crossbar/events","assignees_url":"https://api.github.com/repos/crossbario/crossbar/assignees{/user}","branches_url":"https://api.github.com/repos/crossbario/crossbar/branches{/branch}","tags_url":"https://api.github.com/repos/crossbario/crossbar/tags","blobs_url":"https://api.github.com/repos/crossbario/crossbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crossbario/crossbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crossbario/crossbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/crossbario/crossbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crossbario/crossbar/statuses/{sha}","languages_url":"https://api.github.com/repos/crossbario/crossbar/languages","stargazers_url":"https://api.github.com/repos/crossbario/crossbar/stargazers","contributors_url":"https://api.github.com/repos/crossbario/crossbar/contributors","subscribers_url":"https://api.github.com/repos/crossbario/crossbar/subscribers","subscription_url":"https://api.github.com/repos/crossbario/crossbar/subscription","commits_url":"https://api.github.com/repos/crossbario/crossbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/crossbario/crossbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/crossbario/crossbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/crossbario/crossbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/crossbario/crossbar/contents/{+path}","compare_url":"https://api.github.com/repos/crossbario/crossbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crossbario/crossbar/merges","archive_url":"https://api.github.com/repos/crossbario/crossbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crossbario/crossbar/downloads","issues_url":"https://api.github.com/repos/crossbario/crossbar/issues{/number}","pulls_url":"https://api.github.com/repos/crossbario/crossbar/pulls{/number}","milestones_url":"https://api.github.com/repos/crossbario/crossbar/milestones{/number}","notifications_url":"https://api.github.com/repos/crossbario/crossbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crossbario/crossbar/labels{/name}","releases_url":"https://api.github.com/repos/crossbario/crossbar/releases{/id}","created_at":"2013-10-14T11:10:50Z","updated_at":"2015-11-02T07:35:00Z","pushed_at":"2015-11-01T18:12:28Z","git_url":"git://github.com/crossbario/crossbar.git","ssh_url":"git@github.com:crossbario/crossbar.git","clone_url":"https://github.com/crossbario/crossbar.git","svn_url":"https://github.com/crossbario/crossbar","homepage":"http://crossbar.io/","size":22349,"stargazers_count":719,"watchers_count":719,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":100,"forks":92,"open_issues":100,"watchers":719,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crossbario/crossbar/pulls/503"},"html":{"href":"https://github.com/crossbario/crossbar/pull/503"},"issue":{"href":"https://api.github.com/repos/crossbario/crossbar/issues/503"},"comments":{"href":"https://api.github.com/repos/crossbario/crossbar/issues/503/comments"},"review_comments":{"href":"https://api.github.com/repos/crossbario/crossbar/pulls/503/comments"},"review_comment":{"href":"https://api.github.com/repos/crossbario/crossbar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crossbario/crossbar/pulls/503/commits"},"statuses":{"href":"https://api.github.com/repos/crossbario/crossbar/statuses/aae81b5e019bb34959e63b5757ea54b0d4e0bc39"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":102,"deletions":53,"changed_files":2}}