Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Conversation

@jwkoelewijn
Copy link

When a Range with in inclusive end was used, the entire Range would be partitioned. This is not necessary, because only the first and the last item of the Range are important.

This could result in poor performance when using big ranges.

The fix just changes the comparison operator based on whether the range is inclusive or exclusive.

Conflicts:

	lib/dm-do-adapter/spec/shared_spec.rb
@tpitale tpitale changed the title added spec Change comparison operator based on inclusive vs exclusive ranges Feb 7, 2016
@tpitale
Copy link
Member

tpitale commented Feb 7, 2016

It seems like prior to this inclusive ranges were not handled in any way. So … this adds support for inclusive ranges?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants