-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvarray.opam
37 lines (35 loc) · 1.11 KB
/
varray.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.2"
synopsis: "Resizable arrays with fast insertion/deletion"
description: """
- O(1) constant time for random access `arr.(i)` and updates `arr.(i) <- v`
- O(1) amortized for `push_front` and `pop_front`, `push_back` and `pop_back` to add or remove an element to the start or the end
- O(sqrt N) for `insert_at arr i x` and `delete_at arr i` to insert or delete an element anywhere else
This datastructure was invented by Goodrich and Kloss and is described in their paper "Tiered Vectors: Efficient Dynamic Arrays for Rank-Based Sequences"."""
maintainer: ["[email protected]"]
authors: ["Arthur Wendling"]
license: "MIT"
homepage: "https://github.com/art-w/varray"
bug-reports: "https://github.com/art-w/varray/issues"
depends: [
"dune" {>= "2.8"}
"ocaml" {>= "4.08"}
"monolith" {with-test}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/art-w/varray.git"