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

Review: MoreEnumerable.Partition() #44

Closed
atifaziz opened this issue Aug 21, 2015 · 4 comments
Closed

Review: MoreEnumerable.Partition() #44

atifaziz opened this issue Aug 21, 2015 · 4 comments

Comments

@atifaziz
Copy link
Member

Originally reported on Google Code with ID 44

Purpose of code changes on this branch:

Rev 128: Implementation of the Partition extension method, which transforms
a sequence into a series of sequences whose elements are defined by a set
of supplied partition sizes. Partition can be passed a projection function,
in which case the result is a sequence formed by first partitioning and
then transforming each partition into a result. An underflow strategy can
also be supplied, which control how partition behaves when there are
elements remaining in the source sequence after all explicit partitions
have been evaluated. Partition uses an unusual strategy for coping with
returning the "rest" of a sequence - it uses a special IEnumerable
implementation which caches the original enumerator.

When reviewing my code changes, please focus on:

* The public interface of the extension method.
* The effectiveness and clarity of the available XML comment documentation.
* How well this operator fits into the MoreLINQ ecosystem of
extension methods.
* The extent of coverage available from the corresponding unit tests.
* Whether edge cases are correctly identified and handled in the
implementation and tests.
* Whether the YieldRestEnumerator implementation is correctly implemented
and appropriately tested.
* Whether there is an easier way to deal with yielding the remainder of a
sequence, other than the YieldRestEnumerator approach.

After the review, I'll merge this branch into:
/trunk

Reported by ambientlion on 2010-01-18 17:38:40

@atifaziz
Copy link
Member Author

Set review issue status to: Started

Reported by jojo.rudolph on 2010-04-10 11:20:02

  • Status changed: Started

@atifaziz
Copy link
Member Author

Now migrated to Hg and available in clone:
http://code.google.com/r/azizatif-morelinq-evenmore/
This clone is ready to be cloned :O) for further review. It also has the main/default
branch already merged in to bring it up to date.

Reported by azizatif on 2012-05-25 23:38:37

@atifaziz
Copy link
Member Author

Following no response from ambientlion (who possibly/assuming lost interest given it
has taken years to get this far), taking ownership of issue to consider as addition
for MoreLINQ 2.0 milestone.

Reported by azizatif on 2013-06-12 22:10:51

  • Labels added: Type-Enhancement, Priority-High, Milestone-Release2.0, Component-Logic
  • Labels removed: Type-Review, Priority-Medium

@atifaziz
Copy link
Member Author

This issue was closed by revision ecbb044b3f86.

Reported by azizatif on 2013-06-14 05:18:12

  • Status changed: Fixed

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

No branches or pull requests

1 participant