Comments (7)
Plan to merge?
from numpy_ringbuffer.
The problem here is specifically negative indices, right? Nice catch
from numpy_ringbuffer.
It fails with positive indices too. E.g., r[3]
returns 4
.
from numpy_ringbuffer.
Right, so it fails for indices where 0 <= i < len(self)
is False
. I'll throw a patch together in the next day or two, unless you want to
from numpy_ringbuffer.
Yes, that's right. Thanks @eric-wieser , better you do it
from numpy_ringbuffer.
Any progress on this bug?
from numpy_ringbuffer.
I had a local patch, but the timings ended up way worse as a result of fixing it. I'll try to take another look
from numpy_ringbuffer.
Related Issues (10)
- README.md missing in archive HOT 5
- pip install numpy-ringbuffer fails with pypandoc errors HOT 1
- Answer to this SO question
- Typo HOT 1
- compatible with python3? HOT 2
- class RingBuffer(Sequence)
- DepretiationWarning HOT 1
- indexing an empty buffer doesn't raise an IndexError
- Negative indices in unfull buffers unsafely access memory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from numpy_ringbuffer.