DiamondLightSource / DiamondLightSource/ppmac_ushm_buffer

Flat indexing

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Using flat indexing might improve performance and make it less convoluted.

Example

```
#define ROWS 100
#define COLS 100

for (int k = 0; k < ROWS * COLS; k++) {
int i = k / COLS;
int j = k % COLS;
do_something(i, j);
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.