{"action":"opened","number":628,"pull_request":{"url":"https://api.github.com/repos/termux/termux-app/pulls/628","id":175758308,"html_url":"https://github.com/termux/termux-app/pull/628","diff_url":"https://github.com/termux/termux-app/pull/628.diff","patch_url":"https://github.com/termux/termux-app/pull/628.patch","issue_url":"https://api.github.com/repos/termux/termux-app/issues/628","number":628,"state":"open","locked":false,"title":"Add fast path for TerminalRow.setChar","user":{"login":"michalbednarski","id":1826899,"avatar_url":"https://avatars0.githubusercontent.com/u/1826899?v=4","gravatar_id":"","url":"https://api.github.com/users/michalbednarski","html_url":"https://github.com/michalbednarski","followers_url":"https://api.github.com/users/michalbednarski/followers","following_url":"https://api.github.com/users/michalbednarski/following{/other_user}","gists_url":"https://api.github.com/users/michalbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/michalbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalbednarski/subscriptions","organizations_url":"https://api.github.com/users/michalbednarski/orgs","repos_url":"https://api.github.com/users/michalbednarski/repos","events_url":"https://api.github.com/users/michalbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/michalbednarski/received_events","type":"User","site_admin":false},"body":"Added fast path for TerminalRow.setChar for case where theres 1-to-1 mapping between characters and columns (that is no UTF-16 surrogate pairs and characters with width != 1)\r\n\r\nTrying to fix termux/termux-app#603, please test @evg-zhabotinsky\r\n\r\nIn my tests this highly improved performance of `cat 500KBfile.txt` test.\r\n\r\nStill slower than Android Terminal Emulator, but difference is now much smaller and seems to be matter of redraw throttling, without redrawing Termux is now faster (For test commented out line in [Termux](https://github.com/termux/termux-app/blob/9f36ed06b8e2c3b5e5918444e0c37699e21a7196/terminal-view/src/main/java/com/termux/view/TerminalView.java#L386) and [Android Terminal Emulator](https://github.com/jackpal/Android-Terminal-Emulator/blob/987e4eb56bb7bcb387a187ab78437111d327c984/emulatorview/src/main/java/jackpal/androidterm/emulatorview/EmulatorView.java#L488), press volume key in such version to redraw screen)","created_at":"2018-03-18T15:55:55Z","updated_at":"2018-03-18T15:55:55Z","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/termux/termux-app/pulls/628/commits","review_comments_url":"https://api.github.com/repos/termux/termux-app/pulls/628/comments","review_comment_url":"https://api.github.com/repos/termux/termux-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/termux/termux-app/issues/628/comments","statuses_url":"https://api.github.com/repos/termux/termux-app/statuses/f7b229a421822c6418b2926050def37d633fafa2","head":{"label":"michalbednarski:terminal-fastpath","ref":"terminal-fastpath","sha":"f7b229a421822c6418b2926050def37d633fafa2","user":{"login":"michalbednarski","id":1826899,"avatar_url":"https://avatars0.githubusercontent.com/u/1826899?v=4","gravatar_id":"","url":"https://api.github.com/users/michalbednarski","html_url":"https://github.com/michalbednarski","followers_url":"https://api.github.com/users/michalbednarski/followers","following_url":"https://api.github.com/users/michalbednarski/following{/other_user}","gists_url":"https://api.github.com/users/michalbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/michalbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalbednarski/subscriptions","organizations_url":"https://api.github.com/users/michalbednarski/orgs","repos_url":"https://api.github.com/users/michalbednarski/repos","events_url":"https://api.github.com/users/michalbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/michalbednarski/received_events","type":"User","site_admin":false},"repo":{"id":65186458,"name":"termux-app","full_name":"michalbednarski/termux-app","owner":{"login":"michalbednarski","id":1826899,"avatar_url":"https://avatars0.githubusercontent.com/u/1826899?v=4","gravatar_id":"","url":"https://api.github.com/users/michalbednarski","html_url":"https://github.com/michalbednarski","followers_url":"https://api.github.com/users/michalbednarski/followers","following_url":"https://api.github.com/users/michalbednarski/following{/other_user}","gists_url":"https://api.github.com/users/michalbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/michalbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalbednarski/subscriptions","organizations_url":"https://api.github.com/users/michalbednarski/orgs","repos_url":"https://api.github.com/users/michalbednarski/repos","events_url":"https://api.github.com/users/michalbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/michalbednarski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michalbednarski/termux-app","description":"Android terminal emulator and Linux environment - app repository.","fork":true,"url":"https://api.github.com/repos/michalbednarski/termux-app","forks_url":"https://api.github.com/repos/michalbednarski/termux-app/forks","keys_url":"https://api.github.com/repos/michalbednarski/termux-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michalbednarski/termux-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michalbednarski/termux-app/teams","hooks_url":"https://api.github.com/repos/michalbednarski/termux-app/hooks","issue_events_url":"https://api.github.com/repos/michalbednarski/termux-app/issues/events{/number}","events_url":"https://api.github.com/repos/michalbednarski/termux-app/events","assignees_url":"https://api.github.com/repos/michalbednarski/termux-app/assignees{/user}","branches_url":"https://api.github.com/repos/michalbednarski/termux-app/branches{/branch}","tags_url":"https://api.github.com/repos/michalbednarski/termux-app/tags","blobs_url":"https://api.github.com/repos/michalbednarski/termux-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michalbednarski/termux-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michalbednarski/termux-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/michalbednarski/termux-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michalbednarski/termux-app/statuses/{sha}","languages_url":"https://api.github.com/repos/michalbednarski/termux-app/languages","stargazers_url":"https://api.github.com/repos/michalbednarski/termux-app/stargazers","contributors_url":"https://api.github.com/repos/michalbednarski/termux-app/contributors","subscribers_url":"https://api.github.com/repos/michalbednarski/termux-app/subscribers","subscription_url":"https://api.github.com/repos/michalbednarski/termux-app/subscription","commits_url":"https://api.github.com/repos/michalbednarski/termux-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/michalbednarski/termux-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/michalbednarski/termux-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/michalbednarski/termux-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/michalbednarski/termux-app/contents/{+path}","compare_url":"https://api.github.com/repos/michalbednarski/termux-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michalbednarski/termux-app/merges","archive_url":"https://api.github.com/repos/michalbednarski/termux-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michalbednarski/termux-app/downloads","issues_url":"https://api.github.com/repos/michalbednarski/termux-app/issues{/number}","pulls_url":"https://api.github.com/repos/michalbednarski/termux-app/pulls{/number}","milestones_url":"https://api.github.com/repos/michalbednarski/termux-app/milestones{/number}","notifications_url":"https://api.github.com/repos/michalbednarski/termux-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michalbednarski/termux-app/labels{/name}","releases_url":"https://api.github.com/repos/michalbednarski/termux-app/releases{/id}","deployments_url":"https://api.github.com/repos/michalbednarski/termux-app/deployments","created_at":"2016-08-08T08:22:33Z","updated_at":"2016-08-08T08:22:34Z","pushed_at":"2018-03-18T15:43:04Z","git_url":"git://github.com/michalbednarski/termux-app.git","ssh_url":"git@github.com:michalbednarski/termux-app.git","clone_url":"https://github.com/michalbednarski/termux-app.git","svn_url":"https://github.com/michalbednarski/termux-app","homepage":"https://termux.com","size":580,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"termux:master","ref":"master","sha":"9f36ed06b8e2c3b5e5918444e0c37699e21a7196","user":{"login":"termux","id":8104776,"avatar_url":"https://avatars0.githubusercontent.com/u/8104776?v=4","gravatar_id":"","url":"https://api.github.com/users/termux","html_url":"https://github.com/termux","followers_url":"https://api.github.com/users/termux/followers","following_url":"https://api.github.com/users/termux/following{/other_user}","gists_url":"https://api.github.com/users/termux/gists{/gist_id}","starred_url":"https://api.github.com/users/termux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/termux/subscriptions","organizations_url":"https://api.github.com/users/termux/orgs","repos_url":"https://api.github.com/users/termux/repos","events_url":"https://api.github.com/users/termux/events{/privacy}","received_events_url":"https://api.github.com/users/termux/received_events","type":"Organization","site_admin":false},"repo":{"id":44804216,"name":"termux-app","full_name":"termux/termux-app","owner":{"login":"termux","id":8104776,"avatar_url":"https://avatars0.githubusercontent.com/u/8104776?v=4","gravatar_id":"","url":"https://api.github.com/users/termux","html_url":"https://github.com/termux","followers_url":"https://api.github.com/users/termux/followers","following_url":"https://api.github.com/users/termux/following{/other_user}","gists_url":"https://api.github.com/users/termux/gists{/gist_id}","starred_url":"https://api.github.com/users/termux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/termux/subscriptions","organizations_url":"https://api.github.com/users/termux/orgs","repos_url":"https://api.github.com/users/termux/repos","events_url":"https://api.github.com/users/termux/events{/privacy}","received_events_url":"https://api.github.com/users/termux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/termux/termux-app","description":"Android terminal and Linux environment - app repository.","fork":false,"url":"https://api.github.com/repos/termux/termux-app","forks_url":"https://api.github.com/repos/termux/termux-app/forks","keys_url":"https://api.github.com/repos/termux/termux-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/termux/termux-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/termux/termux-app/teams","hooks_url":"https://api.github.com/repos/termux/termux-app/hooks","issue_events_url":"https://api.github.com/repos/termux/termux-app/issues/events{/number}","events_url":"https://api.github.com/repos/termux/termux-app/events","assignees_url":"https://api.github.com/repos/termux/termux-app/assignees{/user}","branches_url":"https://api.github.com/repos/termux/termux-app/branches{/branch}","tags_url":"https://api.github.com/repos/termux/termux-app/tags","blobs_url":"https://api.github.com/repos/termux/termux-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/termux/termux-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/termux/termux-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/termux/termux-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/termux/termux-app/statuses/{sha}","languages_url":"https://api.github.com/repos/termux/termux-app/languages","stargazers_url":"https://api.github.com/repos/termux/termux-app/stargazers","contributors_url":"https://api.github.com/repos/termux/termux-app/contributors","subscribers_url":"https://api.github.com/repos/termux/termux-app/subscribers","subscription_url":"https://api.github.com/repos/termux/termux-app/subscription","commits_url":"https://api.github.com/repos/termux/termux-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/termux/termux-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/termux/termux-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/termux/termux-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/termux/termux-app/contents/{+path}","compare_url":"https://api.github.com/repos/termux/termux-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/termux/termux-app/merges","archive_url":"https://api.github.com/repos/termux/termux-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/termux/termux-app/downloads","issues_url":"https://api.github.com/repos/termux/termux-app/issues{/number}","pulls_url":"https://api.github.com/repos/termux/termux-app/pulls{/number}","milestones_url":"https://api.github.com/repos/termux/termux-app/milestones{/number}","notifications_url":"https://api.github.com/repos/termux/termux-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/termux/termux-app/labels{/name}","releases_url":"https://api.github.com/repos/termux/termux-app/releases{/id}","deployments_url":"https://api.github.com/repos/termux/termux-app/deployments","created_at":"2015-10-23T09:42:46Z","updated_at":"2018-03-18T13:56:08Z","pushed_at":"2018-03-10T21:55:11Z","git_url":"git://github.com/termux/termux-app.git","ssh_url":"git@github.com:termux/termux-app.git","clone_url":"https://github.com/termux/termux-app.git","svn_url":"https://github.com/termux/termux-app","homepage":"https://termux.com","size":1211,"stargazers_count":2153,"watchers_count":2153,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":257,"mirror_url":null,"archived":false,"open_issues_count":202,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":257,"open_issues":202,"watchers":2153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/termux/termux-app/pulls/628"},"html":{"href":"https://github.com/termux/termux-app/pull/628"},"issue":{"href":"https://api.github.com/repos/termux/termux-app/issues/628"},"comments":{"href":"https://api.github.com/repos/termux/termux-app/issues/628/comments"},"review_comments":{"href":"https://api.github.com/repos/termux/termux-app/pulls/628/comments"},"review_comment":{"href":"https://api.github.com/repos/termux/termux-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/termux/termux-app/pulls/628/commits"},"statuses":{"href":"https://api.github.com/repos/termux/termux-app/statuses/f7b229a421822c6418b2926050def37d633fafa2"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":14,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"michalbednarski"}}