fractional_indexing_dart 1.0.7
fractional_indexing_dart: ^1.0.7 copied to clipboard
A Dart implementation of fractional indexing for efficient list ordering and reordering without large-scale updates. Ideal for CRDTs and real-time apps.
1.0.7 #
- FEATURE: Added
getByRankmethod toRankedLinkedListfor efficient O(log N) lookup of entries by rank using binary search. - Added comprehensive tests for
getByRankcovering various scenarios including empty lists, single entries, and large lists. - Added example usage of
getByRankin the example file. - Added documentation for
getByRankin README.md explaining its usage and performance characteristics.
1.0.6 #
- BREAKING: Renamed
addToRankmethod toinsertinRankedLinkedListand updated its signature to accept rank directly. - Updated examples and tests to use the new
insertmethod.
1.0.5 #
- Version bump for consistency.
1.0.4 #
- Updated repository URLs in
pubspec.yaml.
1.0.3 #
- Simplified import statement in README documentation.
1.0.2 #
- FEATURE: Added
RankedLinkedListandRankedLinkedListEntryfor managing ordered items with fractional indexing. - Moved fractional indexing functions (
generateKeyBetween,generateNKeysBetween) intoFractionalIndexingclass. - Added comprehensive documentation and examples for
RankedLinkedListusage. RankedLinkedListautomatically maintains sorted order and validates ranks on insertion.
1.0.1 #
- Added project metadata including homepage, repository, issue tracker, and topics to
pubspec.yaml. - Updated project description in
pubspec.yaml. - Corrected README to reflect Python port and link original author.
1.0.0 #
- Initial version.