-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Remove lazy parameters for GetRowCount #1621
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
Conversation
Zruty0
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.
![]()
sfilipi
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.
![]()
| public override long? GetRowCount() | ||
| { | ||
| return _transform.GetRowCount(lazy); | ||
| return _transform.GetRowCount(); |
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.
return [](start = 15, length = 7)
prefer => to full bodied for one liners.
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'd like to keep change as small as possible. Maybe you can create another issue so that someone will fix it?
Fixes #1531. In most cases, the
GetRowCountis as lazy as before but in some places such asCacheDataViewinCacheDataView.cs, it could need more than O(1) time to wait until the actual number of rows is available.