https://github.com/avramrobert/vector-ops
https://github.com/avramrobert/vector-ops
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/avramrobert/vector-ops
- Owner: AvramRobert
- License: apache-2.0
- Created: 2018-01-01T18:10:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T00:03:04.000Z (almost 8 years ago)
- Last Synced: 2025-03-26T18:57:23.572Z (10 months ago)
- Language: Clojure
- Size: 66.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vector-ops
Clojure collection operations optimised for vectors.
If you've ever wanted optimised vector versions of functions like `take`, `drop`, `concat` etc.,
you'll most probably find them here.
**NOTE:** Subvectors not yet supported
## Clojars
```clj
[vector-ops "0.1.0"]
```
## Usage
```clojure
=> (require '[vector-ops.core :as v])
nil
=> (v/takev 3 [1 2 3 4 5])
[1 2 3]
=> (v/dropv-last 2 [1 2 3 4 5])
[1 2 3]
...
```
And so on..
## Benchmarks
You may find here: [Benchmarks](/benchmarks/benchmark.md)
## License
Copyright © 2018 Robert M. Avram
Distributed under the Apache-2.0 License.