Skip to content
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

check bounds rather than generate exceptions #373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

check bounds rather than generate exceptions #373

wants to merge 1 commit into from

Conversation

bruce-lindsay
Copy link

This had a serious performance benefit. In my case (single select fetching 164 records) the catch block for ArgumentOutOfRangeException was hit 432 times. Using an explicit bounds check prevented these exceptions and was noticeably faster

@ThatRendle
Copy link
Owner

Thanks for this. I will pull and release patched build next time I'm on my
Windows machine.

Sent using CloudMagic [https://cloudmagic.com/k/d/mailapp?ct=pi&cv=6.0.64&pv=8.1.1]
On Fri, Aug 7, 2015 at 20:57, markrendle/Simple.Data
[email protected]
wrote:
This had a serious performance benefit. In my case (single select fetching 164
records) the catch block for ArgumentOutOfRangeException was hit 432 times.
Using an explicit bounds check prevented these exceptions and was noticeably
faster


YOU CAN VIEW, COMMENT ON, OR MERGE THIS PULL REQUEST ONLINE AT:
#373
[https://github.com//pull/373]

COMMIT SUMMARY

  • check bounds rather than generate exceptions

FILE CHANGES

PATCH LINKS:


Reply to this email directly or view it on GitHub [https://github.com//pull/373] .[https://github.com/notifications/beacon/AAK4QgteyW0Y_nGiP6D1n5oNJC2y82lLks5olQUQgaJpZM4FnyRa.gif]

@bruce-lindsay
Copy link
Author

Great, glad I could help. Do you know what commit SHA produced 0.19.0 nuget package? I'm currently dependent on that version but not sure what SHA to hotfix this against without introducing other changes. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants