Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it work for more magical types like [ndarray](https://docs.rs/ndarray/0.15.3/ndarray/), which seems to use raw pointers? #29

Open
fzyzcjy opened this issue Dec 11, 2021 · 0 comments

Comments

@fzyzcjy
Copy link

fzyzcjy commented Dec 11, 2021

For example, an Array2<u8> indeed uses https://docs.rs/ndarray/0.15.4/src/ndarray/data_repr.rs.html#21-25 which is:

pub struct OwnedRepr<A> {
    ptr: NonNull<A>,
    len: usize,
    capacity: usize,
}

For example, it can be as big as 10MB, but can deepsize recognize it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant