{"action":"created","issue":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1340","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1340/labels{/name}","comments_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1340/comments","events_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1340/events","html_url":"https://github.com/codenameone/CodenameOne/issues/1340","id":64797106,"number":1340,"title":"Improve the performance of UTF-8 decoding/encoding which is a major bottlneck","user":{"login":"codenameone","id":2353641,"avatar_url":"https://avatars.githubusercontent.com/u/2353641?v=3","gravatar_id":"","url":"https://api.github.com/users/codenameone","html_url":"https://github.com/codenameone","followers_url":"https://api.github.com/users/codenameone/followers","following_url":"https://api.github.com/users/codenameone/following{/other_user}","gists_url":"https://api.github.com/users/codenameone/gists{/gist_id}","starred_url":"https://api.github.com/users/codenameone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenameone/subscriptions","organizations_url":"https://api.github.com/users/codenameone/orgs","repos_url":"https://api.github.com/users/codenameone/repos","events_url":"https://api.github.com/users/codenameone/events{/privacy}","received_events_url":"https://api.github.com/users/codenameone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codenameone/CodenameOne/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/codenameone/CodenameOne/labels/Priority-High","name":"Priority-High","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/codenameone/CodenameOne/milestones/1","html_url":"https://github.com/codenameone/CodenameOne/milestones/Version%203.0%20Code%20Freeze","labels_url":"https://api.github.com/repos/codenameone/CodenameOne/milestones/1/labels","id":1059765,"number":1,"title":"Version 3.0 Code Freeze","description":null,"creator":{"login":"codenameone","id":2353641,"avatar_url":"https://avatars.githubusercontent.com/u/2353641?v=3","gravatar_id":"","url":"https://api.github.com/users/codenameone","html_url":"https://github.com/codenameone","followers_url":"https://api.github.com/users/codenameone/followers","following_url":"https://api.github.com/users/codenameone/following{/other_user}","gists_url":"https://api.github.com/users/codenameone/gists{/gist_id}","starred_url":"https://api.github.com/users/codenameone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codenameone/subscriptions","organizations_url":"https://api.github.com/users/codenameone/orgs","repos_url":"https://api.github.com/users/codenameone/repos","events_url":"https://api.github.com/users/codenameone/events{/privacy}","received_events_url":"https://api.github.com/users/codenameone/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":16,"state":"open","created_at":"2015-04-09T05:24:20Z","updated_at":"2015-05-11T15:46:16Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-03-27T16:24:59Z","updated_at":"2015-05-11T23:46:10Z","closed_at":null,"body":"Original [issue 1341](https://code.google.com/p/codenameone/issues/detail?id=1341) created by codenameone on 2015-02-08T14:13:47.000Z:\n\nThis seems to be the main reason some test cases perform worse on the new VM e.g. Issue 1304. \r\nThis just means not reaching the Objective-C character decoding logic and ideally doing everything in C e.g. like this: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/\r\nThe relevant code is in java_lang_String_bytesToChars___byte_1ARRAY_int_int_java_lang_String_R_char_1ARRAY in the UTF-8 portion. It should be optimized like the US-ASCII code path.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/codenameone/CodenameOne/issues/comments/101075964","html_url":"https://github.com/codenameone/CodenameOne/issues/1340#issuecomment-101075964","issue_url":"https://api.github.com/repos/codenameone/CodenameOne/issues/1340","id":101075964,"user":{"login":"shannah","id":2677562,"avatar_url":"https://avatars.githubusercontent.com/u/2677562?v=3","gravatar_id":"","url":"https://api.github.com/users/shannah","html_url":"https://github.com/shannah","followers_url":"https://api.github.com/users/shannah/followers","following_url":"https://api.github.com/users/shannah/following{/other_user}","gists_url":"https://api.github.com/users/shannah/gists{/gist_id}","starred_url":"https://api.github.com/users/shannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shannah/subscriptions","organizations_url":"https://api.github.com/users/shannah/orgs","repos_url":"https://api.github.com/users/shannah/repos","events_url":"https://api.github.com/users/shannah/events{/privacy}","received_events_url":"https://api.github.com/users/shannah/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T23:46:10Z","updated_at":"2015-05-11T23:46:10Z","body":"Do you have any unit tests or test cases that rely on this so that I can observe the current performance, and test any changes to be sure that I don't introduce regressions?  If not, I guess I can put together some tests myself... it will just take more time."}}