An open API service indexing awesome lists of open source software.

https://github.com/rupt/vrr

Fast vector operations
https://github.com/rupt/vrr

Last synced: about 1 year ago
JSON representation

Fast vector operations

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.