{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/7969","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/7969/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/7969/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/7969/events","html_url":"https://github.com/mrdoob/three.js/issues/7969","id":126756221,"number":7969,"title":"OBJMTLLoader incredibly slow for complex geometry","user":{"login":"borismus","id":277632,"avatar_url":"https://avatars.githubusercontent.com/u/277632?v=3","gravatar_id":"","url":"https://api.github.com/users/borismus","html_url":"https://github.com/borismus","followers_url":"https://api.github.com/users/borismus/followers","following_url":"https://api.github.com/users/borismus/following{/other_user}","gists_url":"https://api.github.com/users/borismus/gists{/gist_id}","starred_url":"https://api.github.com/users/borismus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borismus/subscriptions","organizations_url":"https://api.github.com/users/borismus/orgs","repos_url":"https://api.github.com/users/borismus/repos","events_url":"https://api.github.com/users/borismus/events{/privacy}","received_events_url":"https://api.github.com/users/borismus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrdoob/three.js/labels/Enhancement","name":"Enhancement","color":"deffdb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-14T21:50:31Z","updated_at":"2016-01-15T13:03:54Z","closed_at":null,"body":"I was loading an .obj with ~70k vertices, and it was taking ~20s to load the model. The slowness was being caused by `mergeVertices` call here:\r\n\r\nhttps://github.com/mrdoob/three.js/blob/master/examples/js/loaders/OBJMTLLoader.js#L101\r\n\r\nI commented it out just to see what would happen, and it took about ~1s to load the model and there was no visible change. Any ideas?"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/171954501","html_url":"https://github.com/mrdoob/three.js/issues/7969#issuecomment-171954501","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/7969","id":171954501,"user":{"login":"mrdoob","id":97088,"avatar_url":"https://avatars.githubusercontent.com/u/97088?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T13:03:54Z","updated_at":"2016-01-15T13:03:54Z","body":"`OBJMTLLoader` has been removed (duplicated and outdated code).\r\nYou should now use `OBJLoader` and `MTLLoader` (you'll find them in the `dev` branch). "}}