mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
add note to improve intersectRunRun func
This commit is contained in:
parent
cf445f8012
commit
24c03f07f6
1 changed files with 1 additions and 0 deletions
|
|
@ -1671,6 +1671,7 @@ func intersectArrayRun(a, b *container) *container {
|
|||
// the inputs. (note: it is possible that an array container would be better in
|
||||
// some cases, but probably not worth complicating the implementation)
|
||||
func intersectRunRun(a, b *container) *container {
|
||||
// TODO need to take the last element of output.runs into account during each loop - possible that instead of appending, the last run should just be expanded
|
||||
output := &container{}
|
||||
na, nb := len(a.runs), len(b.runs)
|
||||
for i, j := 0, 0; i < na && j < nb; {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue