-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat + fix: IPC support for run encoded array. #3662
Conversation
I am changing this to draft because I just realized that the IPC writer, written in this PR, for run encoded array does not support Supporting
I will mark the PR ready for review after the fix. Will also fix the |
…changes Add ipc reader, writer and equals Add/Update tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice work on this, left some comments, I think this is pretty much ready to go as is.
I'll take a look to see if we can't get the archery tests for this enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to go, just a minor nit. Will be sure to get this in for the release this afternoon
let skip_value = if self.offset() > 0 { | ||
self.get_zero_offset_physical_index(self.offset()).unwrap() | ||
} else { | ||
0 | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let skip_value = if self.offset() > 0 { | |
self.get_zero_offset_physical_index(self.offset()).unwrap() | |
} else { | |
0 | |
}; | |
let skip_value = self.get_physical_index(0).unwrap_or_default(); |
Perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. We should get a valid response back. Panic or error is the better option. I used to have error, but based on your earlier feedback changed it to panic.
Benchmark runs are scheduled for baseline = 07e2063 and contender = 5b1821e. 5b1821e is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Part of #3520
Rationale for this change
See issue description.
What changes are included in this PR?
regen.sh
that runs flat buffer compiler.unslice
the run array before IPC.take_run
kernel andArrayAccessor
for run array. Iterator for run array is yet to be fixed for non-zero offsets and will be fixed in subsequent PR.Are there any user-facing changes?
No breaking changes. Users will get new IPC support for run array.