DiamondLightSource / DiamondLightSource/ppmac_ushm_buffer
Flat indexing
Open
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.