Merge pull request #58 from jfmengels/remove-unnecessary-work

Remove unnecessary work from $elm$core$List$concat replacement
This commit is contained in:
Matthew Griffith 2022-02-06 09:32:16 -05:00 committed by GitHub
commit 527bc0b025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {