arcweave/fractional-indexing
最新稳定版本:v1.0.0
Composer 安装命令:
composer require arcweave/fractional-indexing
包简介
Fractional Indexing implementation in PHP
README 文档
README
This is based on Implementing Fractional Indexing by David Greenspan .
Fractional indexing is a technique to create an ordering that can be used for Realtime Editing of Ordered Sequences.
This implementation includes variable-length integers, and the prepend/append optimization described in David's article.
This implementation was based on the JS Implementation from rocicorp.
Installation
$ composer install arcweave/fractional-indexing
Other Languages
This is a PHP port of the original JavaScript implementation by @rocicorp. That means that this implementation is byte-for-byte compatible with:
| Language | Repo |
|---|---|
| JavaScript | https://github.com/rocicorp/fractional-indexing |
| Go | https://github.com/rocicorp/fracdex |
| PHP | https://github.com/rocicorp/fractional-indexing |
统计信息
- 总下载量: 3.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-26