'restrict' and 'readonly' argument to buffers
Open
Buffers
defect
- Dominant language
- Cython
- Stars
- 10.8k
- Forks
- 1.6k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 39
Description
We should support
```
np.ndarray[restrict=True, readonly=True](int,) a
```
both which according to Sturla Molden gives a performance increase.
http://thread.gmane.org/gmane.comp.python.cython.devel/7717/focus=7851
http://thread.gmane.org/gmane.comp.python.cython.devel/8068/focus=8069
I'll start merging...
Migrated from http://trac.cython.org/ticket/678
Contributor guide
Assessment
This issue has not been assessed yet.