[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2017-03-22 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2017-02-24 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2017-02-22 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2017-01-24 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2017-01-17 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16824 greenify changed: What|Removed |Added CC||greeen...@gmail.com ---

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-23 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16824 --- Comment #7 from Atila Neves --- I think adding the extra functions is the way forward. --

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-23 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16824 ZombineDev changed: What|Removed |Added CC|

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-23 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-22 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-22 Thread via Digitalmars-d-bugs
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 =

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-22 Thread via Digitalmars-d-bugs
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) >

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-21 Thread via Digitalmars-d-bugs
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

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16824 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED --

[Issue 16824] std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension

2016-12-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16824 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com