https://github.com/rupt/vrr
Fast vector operations
https://github.com/rupt/vrr
Last synced: about 1 year ago
JSON representation
Fast vector operations
- Host: GitHub
- URL: https://github.com/rupt/vrr
- Owner: Rupt
- License: mit
- Created: 2025-01-05T10:01:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T21:25:54.000Z (over 1 year ago)
- Last Synced: 2025-02-26T21:27:21.266Z (over 1 year ago)
- Language: C
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vrr
Fast vector operations
## Development dependencies
```console
clang
clang-format
clang-tidy
tcc
```
## Commands
### Compile
```console
make
```
### Check sources
```console
make lint
```
### Run tests
```console
make test
```
### Measure timings
```console
make time
```
## Local style
- Prefer to not nest `#include` directives, because textual inclusion is not a
module system and its abuse as a module system incurs costs for compilers.
- Instead, document expected includes under `#ifdef VRR_INCLUDE_GUARD` guards in
all files that may be included elsewhere.
- To ensure only one set of `#include` directives in a build, undefine the guard
with `#undef VRR_INCLUDE_GUARD` before your first set of include directives.
- Clang-tidy disabled rules:
- `misc-include-cleaner` unnecessarily imports `bits/time.h` when `time.h` suffices.
- `readability-identifier-length` says that one character is always too short.
- `readability-magic-numbers` is too eager.