mirror of
https://github.com/mdgriffith/elm-optimize-level-2.git
synced 2024-09-11 12:15:24 +03:00
Merge pull request #58 from jfmengels/remove-unnecessary-work
Remove unnecessary work from $elm$core$List$concat replacement
This commit is contained in:
commit
527bc0b025
@ -1,9 +1,9 @@
|
||||
var $elm$core$List$concat = function (lists) {
|
||||
var tmp = _List_Cons(undefined, _List_Nil);
|
||||
var end = tmp;
|
||||
if (!lists.b) {
|
||||
return _List_Nil;
|
||||
}
|
||||
var tmp = _List_Cons(undefined, _List_Nil);
|
||||
var end = tmp;
|
||||
for (; lists.b.b; lists = lists.b) {
|
||||
var xs = lists.a;
|
||||
for (; xs.b; xs = xs.b) {
|
||||
|
Loading…
Reference in New Issue
Block a user