Repository navigation
Fix bugs, add new stream operations, improve test coverage to 97%
Bug fixes:
- Fix removeKeepOrder/removeFast not removing elements (wrong slice index)
- Fix Sort using SliceIsSorted instead of Slice (checked but never sorted)
- Fix mapCollection.RemoveAt inverted bounds check
- Fix mapCollection.Delete not removing key from keys slice
- Fix set.Clear missing mutex lock (race condition)
- Fix MapNonComparable empty IIterator case falling through to panic
- Fix ToDistinct panic on type assertion after sorting
- Fix iterHandler returning full iterable in parallel mode (duplicated data)
- Fix AddFromIterator/RemoveFromIterator short-circuit skipping calls
- Fix RemoveIf index corruption after element removal
New stream operations (IStream methods):
- Skip, Limit, Reverse, Peek, TakeWhile, SkipWhile, Chunk
New standalone functions:
- Reduce, ReduceAny, FlatMap, Concat, Zip, GroupBy, DistinctBy
- Min, Max, Sum, Average
- Range, Repeat, Union, Intersect
Improvements:
- Nil safety on all terminal operations
- Process result caching (no redundant pipeline re-runs)
- Update testify to v1.11.1
- Comprehensive test suite (97.2% coverage, up from 38.9%)
- Rewrite README with full API documentation
- Added full test coverage.