Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avramrobert/vector-ops
https://github.com/avramrobert/vector-ops
Last synced: about 12 hours 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 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T00:03:04.000Z (almost 7 years ago)
- Last Synced: 2024-12-08T08:07:53.267Z (about 1 month ago)
- Language: Clojure
- Size: 66.4 KB
- Stars: 3
- Watchers: 2
- 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.