-
Notifications
You must be signed in to change notification settings - Fork 0
Kernel implementations #5
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
base: main
Are you sure you want to change the base?
Conversation
jrg94
left a comment
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.
There is a ton of really solid and interesting work here. I feel a bit out of my depth reviewing it, and I'm going to trust your judgment.
|
|
||
| // TODO - fill in body | ||
|
|
||
| if(password==null||truePassword==null) { |
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 don't think there is anything wrong with this, but I wouldn't make createNewRep conditional on whatever the current variables store. The idea should be that createNewRep gives you a fresh representation every time.
I'm wondering if the keystore logic could be in a private method that you call after you initialize your variables. That said, I haven't looked at your code deep enough to really make a solid recommendation.
|
|
||
| // Copy all keys and metadata from source to this | ||
| int sourceSize = localSource.size(); | ||
| for (int i = 0; i < sourceSize; i++) { |
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.
Usually, transferFrom is an O(1) operation. Is there a way to transfer the rep directly without these loops?
No description provided.