You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorted Collection for PHP. Insertion, search, and removal compute in `log(n)` time where `n` is the number of items present in the collection. It uses AVL threaded tree [see @Knuth97, 1:320, Sect. 2.3.1] as internal structure.
19
+
Sorted Collection for PHP. Insertion, search, and removal compute in
20
+
`log(n)` time where `n` is the number of items present in the collection.
21
+
It uses AVL threaded tree [see @Knuth97, 1:320, Sect. 2.3.1] as internal
22
+
structure.
21
23
22
-
@Knuth97: Donald E. Knuth, The Art of Computer Programming, Addison-Wesley, volumes 1 and 2, 2nd edition, 1997.
24
+
@Knuth97: Donald E. Knuth, The Art of Computer Programming, Addison-Wesley,
25
+
volumes 1 and 2, 2nd edition, 1997.
23
26
24
27
This project uses:
25
28
26
-
*[PHP Code Sniffer](https://github.com/squizlabs/php_codesniffer) for checking PHP code style
Creating a "chdemko/sorted-collections:1.0.*@dev" project at "./sorted-collections"
43
+
...
38
44
~~~
39
45
40
46
or create a `composer.json` file containing
@@ -51,6 +57,8 @@ and run
51
57
52
58
~~~shell
53
59
$ composer install
60
+
Loading composer repositories with package information
61
+
...
54
62
~~~
55
63
56
64
Create a `test.php` file containg
@@ -72,18 +80,16 @@ And run
72
80
73
81
~~~shell
74
82
$ php test.php
75
-
~~~
76
-
77
-
This should print
78
-
79
-
~~~console
80
83
[0,1,2,3,4,5,6,7,8,9]
81
84
~~~
82
85
83
-
See the [examples](https://github.com/chdemko/php-sorted-collections/tree/develop/examples) and [benchmarks](https://github.com/chdemko/php-sorted-collections/tree/develop/benchmarks) folders for more information.
You are also pleased to send me an email to <chdemko@gmail.com>.
105
114
106
-
If you are using this project including publication in research activities, you have to cite it using ([BibTeX format](https://raw.github.com/chdemko/php-sorted-collections/develop/cite.bib)). You are also pleased to send me an email to chdemko@gmail.com.
107
115
* authors: Christophe Demko
108
116
* title: php-sorted-collections: a PHP library for handling sorted collections
109
117
* year: 2014
110
-
* how published: https://packagist.org/packages/chdemko/sorted-collections
118
+
* how published: <https://packagist.org/packages/chdemko/sorted-collections>
111
119
112
-
All releases can be found [here](https://github.com/chdemko/php-sorted-collections/releases)
0 commit comments