peter7891

Results 18 comments of peter7891

What i've noticed is the problem occurs only when i am collecting a lot of objects in the slice (vector in Rust terms). Could it cause it to reallocate that...

> Can you try this branch? You can adjust a mask value to fit your use case. > > * [Set pointer mask #283](https://github.com/raviqqe/bdwgc-alloc/pull/283) > > > Are you on...

> I just joined the Discord. I'll try to reproduce the bug later. btw, i am using ```rust bdwgc-alloc = {git = "https://github.com/raviqqe/bdwgc-alloc", branch = "chore/pointer-mask", features = ["cmake"], default-features...

I think, this is the problem. ```rust // ARM uses 49 bits and x86-64 uses 48 bits // we have at least 15 bits to work with // this is...

> > The change on that branch seems to be for autotools? > > Yeah, I just modified the `cmake`'s. > > > I think, this is the problem. >...

> No, by the `POINTER_MASK` macro definition in the `build.rs`. The one I edited in my new branch. I am already doing it when i am using the pointer. ```rust...

> > I am already doing it when I am using the pointer. > > Yes. But you also need to tell the same thing to `bdwgc`. > > The...

> > Isn't it what POINTER_MASK you passed on the branch is for? > > The documentation says it applys p & POINTER_MASK on every pointer, which should remove the...