Open dreycenfoiles opened 6 months ago
I don't think it has much to do with DTypePointer
. vv
is a list of length 1, vv[1]
is UB.
Question about different List constructor: Should be change the constructor that takes in the size instead of the capacity? Or should we have a new constructor that takes in the size? With only the capacity user cannot access elements in the list.
We now have capacity
as a keyword only argument, this no longer applies.
Bug description
I found that under certain conditions, using memset can cause segfaults. I don't think these edges cases are address are addressed in the docs. I get the following stack trace:
Steps to reproduce
fn main():
System information