{"action":"created","issue":{"url":"https://api.github.com/repos/knockout/knockout/issues/793","labels_url":"https://api.github.com/repos/knockout/knockout/issues/793/labels{/name}","comments_url":"https://api.github.com/repos/knockout/knockout/issues/793/comments","events_url":"https://api.github.com/repos/knockout/knockout/issues/793/events","html_url":"https://github.com/knockout/knockout/issues/793","id":9849479,"number":793,"title":"Empty text nodes in webkit causing slow foreach rendering","user":{"login":"rniemeyer","id":412468,"avatar_url":"https://avatars.githubusercontent.com/u/412468?v=3","gravatar_id":"","url":"https://api.github.com/users/rniemeyer","html_url":"https://github.com/rniemeyer","followers_url":"https://api.github.com/users/rniemeyer/followers","following_url":"https://api.github.com/users/rniemeyer/following{/other_user}","gists_url":"https://api.github.com/users/rniemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/rniemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rniemeyer/subscriptions","organizations_url":"https://api.github.com/users/rniemeyer/orgs","repos_url":"https://api.github.com/users/rniemeyer/repos","events_url":"https://api.github.com/users/rniemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/rniemeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-01-10T16:29:50Z","updated_at":"2015-04-07T13:34:14Z","closed_at":"2015-04-07T13:34:14Z","body":"There have been a couple of examples lately demonstrating that empty text nodes in named or anonymous templates can cause a performance issue when rendering lots of items in a `foreach`.\r\n\r\nExamples:\r\n<http://stackoverflow.com/questions/14124372/ko-observablearray-is-very-slow-for-1000-div-elements>\r\n\r\n<https://groups.google.com/d/topic/knockoutjs/gJYItfxSy-g/discussion>\r\n\r\nWe had a previous pull request that aimed to address it at #709 that was eventually closed.\r\n\r\nI think that we need to revisit whether we can at least safely identify and strip leading and trailing empty text nodes.\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/knockout/knockout/issues/comments/90555819","html_url":"https://github.com/knockout/knockout/issues/793#issuecomment-90555819","issue_url":"https://api.github.com/repos/knockout/knockout/issues/793","id":90555819,"user":{"login":"SteveSanderson","id":161375,"avatar_url":"https://avatars.githubusercontent.com/u/161375?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveSanderson","html_url":"https://github.com/SteveSanderson","followers_url":"https://api.github.com/users/SteveSanderson/followers","following_url":"https://api.github.com/users/SteveSanderson/following{/other_user}","gists_url":"https://api.github.com/users/SteveSanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveSanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveSanderson/subscriptions","organizations_url":"https://api.github.com/users/SteveSanderson/orgs","repos_url":"https://api.github.com/users/SteveSanderson/repos","events_url":"https://api.github.com/users/SteveSanderson/events{/privacy}","received_events_url":"https://api.github.com/users/SteveSanderson/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T13:34:14Z","updated_at":"2015-04-07T13:34:14Z","body":"I'll close this now, but please reopen if there's still an issue!"}}