{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1671","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1671/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1671/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1671/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/1671","id":63580411,"number":1671,"title":"Least Squares Best Fit Algorithm (for ABL) Should Be Shrunk ","user":{"login":"Roxy-3DPrintBoard","id":8404322,"avatar_url":"https://avatars.githubusercontent.com/u/8404322?v=3","gravatar_id":"","url":"https://api.github.com/users/Roxy-3DPrintBoard","html_url":"https://github.com/Roxy-3DPrintBoard","followers_url":"https://api.github.com/users/Roxy-3DPrintBoard/followers","following_url":"https://api.github.com/users/Roxy-3DPrintBoard/following{/other_user}","gists_url":"https://api.github.com/users/Roxy-3DPrintBoard/gists{/gist_id}","starred_url":"https://api.github.com/users/Roxy-3DPrintBoard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roxy-3DPrintBoard/subscriptions","organizations_url":"https://api.github.com/users/Roxy-3DPrintBoard/orgs","repos_url":"https://api.github.com/users/Roxy-3DPrintBoard/repos","events_url":"https://api.github.com/users/Roxy-3DPrintBoard/events{/privacy}","received_events_url":"https://api.github.com/users/Roxy-3DPrintBoard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Feature%20request","name":"Feature request","color":"006b75"},{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Needs%20more%20work","name":"Needs more work","color":"c7def8"},{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/On%20Hold%20During%20Bugfix","name":"On Hold During Bugfix","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/milestones/22","html_url":"https://github.com/MarlinFirmware/Marlin/milestones/Feature%20Requests%20Round%2016","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/milestones/22/labels","id":1049336,"number":22,"title":"Feature Requests Round 16","description":"","creator":{"login":"boelle","id":3832239,"avatar_url":"https://avatars.githubusercontent.com/u/3832239?v=3","gravatar_id":"","url":"https://api.github.com/users/boelle","html_url":"https://github.com/boelle","followers_url":"https://api.github.com/users/boelle/followers","following_url":"https://api.github.com/users/boelle/following{/other_user}","gists_url":"https://api.github.com/users/boelle/gists{/gist_id}","starred_url":"https://api.github.com/users/boelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boelle/subscriptions","organizations_url":"https://api.github.com/users/boelle/orgs","repos_url":"https://api.github.com/users/boelle/repos","events_url":"https://api.github.com/users/boelle/events{/privacy}","received_events_url":"https://api.github.com/users/boelle/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-04-01T19:25:11Z","updated_at":"2015-04-01T19:28:23Z","due_on":"2018-07-07T22:00:00Z","closed_at":null},"comments":14,"created_at":"2015-03-22T21:56:22Z","updated_at":"2015-04-04T15:16:00Z","closed_at":null,"body":"Feature Request:\r\n\r\nPeople are complaining about  Auto Bed Leveling taking too much code space.  The bulk of the bloat happens when you turn on the Grid Based Auto Bed Leveling because it pulls in a Least Squares Best Fit library.   \r\n\r\nI suggest when there is nothing more urgent, we take a look at rewriting that functionality and shrink it down.  I suspect we can free up 10Kb of code space without really trying too hard.  (The current Least Squares Best Fit code solves for the general case.  We don't need to do that!)\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/89593773","html_url":"https://github.com/MarlinFirmware/Marlin/issues/1671#issuecomment-89593773","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1671","id":89593773,"user":{"login":"alexborro","id":5216531,"avatar_url":"https://avatars.githubusercontent.com/u/5216531?v=3","gravatar_id":"","url":"https://api.github.com/users/alexborro","html_url":"https://github.com/alexborro","followers_url":"https://api.github.com/users/alexborro/followers","following_url":"https://api.github.com/users/alexborro/following{/other_user}","gists_url":"https://api.github.com/users/alexborro/gists{/gist_id}","starred_url":"https://api.github.com/users/alexborro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexborro/subscriptions","organizations_url":"https://api.github.com/users/alexborro/orgs","repos_url":"https://api.github.com/users/alexborro/repos","events_url":"https://api.github.com/users/alexborro/events{/privacy}","received_events_url":"https://api.github.com/users/alexborro/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T15:16:00Z","updated_at":"2015-04-04T15:16:00Z","body":"I prefer tweaking the qr_solve.cpp than marlin_main.cpp. \r\n\r\nThe qr_solver is suppose to have such algorithms, so no matter one or two versions. You can use a #define in configuration.h to choose which version... it makes the test and debugging easier.\r\n\r\nCheers.\r\n\r\nAlex."}}