{"action":"closed","issue":{"url":"https://api.github.com/repos/openscad/openscad/issues/1250","labels_url":"https://api.github.com/repos/openscad/openscad/issues/1250/labels{/name}","comments_url":"https://api.github.com/repos/openscad/openscad/issues/1250/comments","events_url":"https://api.github.com/repos/openscad/openscad/issues/1250/events","html_url":"https://github.com/openscad/openscad/issues/1250","id":60287580,"number":1250,"title":"Preview performance regression","user":{"login":"kintel","id":186094,"avatar_url":"https://avatars.githubusercontent.com/u/186094?v=3","gravatar_id":"","url":"https://api.github.com/users/kintel","html_url":"https://github.com/kintel","followers_url":"https://api.github.com/users/kintel/followers","following_url":"https://api.github.com/users/kintel/following{/other_user}","gists_url":"https://api.github.com/users/kintel/gists{/gist_id}","starred_url":"https://api.github.com/users/kintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintel/subscriptions","organizations_url":"https://api.github.com/users/kintel/orgs","repos_url":"https://api.github.com/users/kintel/repos","events_url":"https://api.github.com/users/kintel/events{/privacy}","received_events_url":"https://api.github.com/users/kintel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openscad/openscad/labels/Rendering","name":"Rendering","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/openscad/openscad/milestones/3","html_url":"https://github.com/openscad/openscad/milestones/2014%20QX","labels_url":"https://api.github.com/repos/openscad/openscad/milestones/3/labels","id":559376,"number":3,"title":"2014 QX","description":"This is a relatively large milestone.\r\nIt will contain a larger refactoring of the evaluation engine (lots of optimizations), the offset() module, the text() module as well as GSoC results.","creator":{"login":"kintel","id":186094,"avatar_url":"https://avatars.githubusercontent.com/u/186094?v=3","gravatar_id":"","url":"https://api.github.com/users/kintel","html_url":"https://github.com/kintel","followers_url":"https://api.github.com/users/kintel/followers","following_url":"https://api.github.com/users/kintel/following{/other_user}","gists_url":"https://api.github.com/users/kintel/gists{/gist_id}","starred_url":"https://api.github.com/users/kintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintel/subscriptions","organizations_url":"https://api.github.com/users/kintel/orgs","repos_url":"https://api.github.com/users/kintel/repos","events_url":"https://api.github.com/users/kintel/events{/privacy}","received_events_url":"https://api.github.com/users/kintel/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":130,"state":"open","created_at":"2014-02-05T06:12:24Z","updated_at":"2015-03-09T04:01:21Z","due_on":"2014-12-31T05:00:00Z","closed_at":null},"comments":0,"created_at":"2015-03-09T01:22:49Z","updated_at":"2015-03-09T04:01:21Z","closed_at":"2015-03-09T04:01:21Z","body":"The following design demonstrates a performance regression against 2014.03:\r\n```\r\nfor (k=[0:9]) for (j=[0:9]) for (i=[0:9]) translate(12*[i,j,k]) sphere(5, $fn=30);\r\n```\r\n\r\nThe reason is that we tessellate all PolySets prior to rendering to be able to correctly render concave polygons. If we tessellate only for rendering purposes, we could use a lot more performant tessellation algorithm.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9339071-preview-performance-regression?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}