mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
@jaffee cleanup
This commit is contained in:
parent
498045f25a
commit
7090ee4d7a
1 changed files with 2 additions and 4 deletions
|
|
@ -1616,10 +1616,8 @@ func xor(a, b *container) *container {
|
|||
func xorArrayArray(a, b *container) *container {
|
||||
output := &container{}
|
||||
na, nb := len(a.array), len(b.array)
|
||||
for i, j := 0, 0; ; {
|
||||
if i >= na && j >= nb {
|
||||
break
|
||||
} else if i < na && j >= nb {
|
||||
for i, j := 0, 0; i < na || j < nb; {
|
||||
if i < na && j >= nb {
|
||||
output.add(a.array[i])
|
||||
i++
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue