minor opt
This commit is contained in:
parent
7b32e7acb5
commit
ee4af54005
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ segmentXargsUnordered l = go l [] 0 []
|
|||
where
|
||||
go [] c _ r = (c:r)
|
||||
go (f:fs) c accumlen r
|
||||
| len < maxlen && newlen > maxlen = go (f:fs) [] 0 (c:r)
|
||||
| newlen > maxlen && len < maxlen = go (f:fs) [] 0 (c:r)
|
||||
| otherwise = go fs (f:c) newlen r
|
||||
where
|
||||
len = length f
|
||||
|
|
Loading…
Reference in a new issue