memory for arrays of
more than 1 dimension
https://github.com/dlang/phobos/commit/936a802b50d6dd096f2504595d18436eeceed8e5
Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of
more than 1 dimension
https://github.com/dlang/phobos/commit
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #13 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/64a0814ae426749a70decc5382b2fb3365a52a3e
Issue 16824: fix experimental makeMultidimensionalArray
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #12 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/64a0814ae426749a70decc5382b2fb3365a52a3e
Issue 16824: fix experimental makeMultidimensionalArray
leaks memory for arrays of
more than 1 dimension
https://github.com/dlang/phobos/commit/936a802b50d6dd096f2504595d18436eeceed8e5
Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of
more than 1 dimension
https://github.com/dlang/phobos/commit
memory for arrays of
more than 1 dimension
https://github.com/dlang/phobos/commit/936a802b50d6dd096f2504595d18436eeceed8e5
Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of
more than 1 dimension
https://github.com/dlang/phobos/commit
https://issues.dlang.org/show_bug.cgi?id=16824
greenify changed:
What|Removed |Added
CC||greeen...@gmail.com
--- Comment #9 from greenify
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #8 from Andrei Alexandrescu ---
worksforme
Atila you just volunteered to help @Razvan our grad student in case he needs
assistance and review with *CompactMultidimensional, which may have subtleties
related to alignment.
--
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #7 from Atila Neves ---
I think adding the extra functions is the way forward.
--
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #6 from Andrei Alexandrescu ---
(In reply to Atila Neves from comment #5)
> I understand the arguments; but I still think there should be an easy,
> canonical way of allocating arrays of more than one dimension and be able to
> dispose of
https://issues.dlang.org/show_bug.cgi?id=16824
ZombineDev changed:
What|Removed |Added
CC||petar.p.ki...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #5 from Atila Neves ---
I understand the arguments; but I still think there should be an easy,
canonical way of allocating arrays of more than one dimension and be able to
dispose of them without leaking memory. I didn't even know I _was_
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #4 from Andrei Alexandrescu ---
(In reply to Andrei Alexandrescu from comment #3)
> The owns() method allows allocators to figure that out, but returns true for
> internal pointers as well, which means the following would not end well:
>
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #3 from Andrei Alexandrescu ---
The owns() method allows allocators to figure that out, but returns true for
internal pointers as well, which means the following would not end well:
auto ints2d = allocator.makeArray!(int[])(2);
a
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #2 from RazvanN ---
(In reply to Andrei Alexandrescu from comment #1)
> OK, so what we have here at the core is this:
>
> auto ints2d = allocator.makeArray!(int[])(2);
> foreach(ref ints1d; ints2d)
> ints1d = allocator.ma
https://issues.dlang.org/show_bug.cgi?id=16824
--- Comment #1 from Andrei Alexandrescu ---
OK, so what we have here at the core is this:
auto ints2d = allocator.makeArray!(int[])(2);
foreach(ref ints1d; ints2d)
ints1d = allocator.makeArray!(int)(3);
What I see here by means of m
https://issues.dlang.org/show_bug.cgi?id=16824
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |ASSIGNED
--
https://issues.dlang.org/show_bug.cgi?id=16824
Andrei Alexandrescu changed:
What|Removed |Added
CC||and...@erdani.com
Assignee|n
17 matches
Mail list logo