February 12, 2015 [Issue 14134] Free of large array does not work | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14134 --- Comment #11 from Steven Schveighoffer <schveiguy@yahoo.com> --- (In reply to Martin Nowak from comment #9) > (In reply to Rainer Schuetze from comment #8) > > Other notes: > > > > - The current version also "works" for memory allocated outside the GC, it just doesn't free the memory. > > That should be fixed, we don't want to promote delete arr[] as a method to destroy a slice. I agree. > > > There is no good way to destroy an array except delete. > > foreach (ref el; ary) > destroy(el); Some type of destroyRange would be a good addition (not just for arrays). Regardless of this, we need to support a way to manually manage array memory. Especially large arrays, that is where the problem of the conservative GC really shows up. -- | ||||
February 12, 2015 [Issue 14134] Free of large array does not work | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14134 Rainer Schuetze <r.sagitario@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #12 from Rainer Schuetze <r.sagitario@gmx.de> --- How about this? https://github.com/D-Programming-Language/druntime/pull/1168 -- | ||||
February 13, 2015 [Issue 14134] Free of large array does not work | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14134 --- Comment #13 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/b4109deef75c6156bd6e95e7008ad091bc9863b4 Merge pull request #1168 from rainers/issue14134 issue 14134 - Free of large array does not work -- | ||||
February 16, 2015 [Issue 14134] Free of large array does not work | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14134 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution|--- |FIXED --- Comment #14 from Walter Bright <bugzilla@digitalmars.com> --- When writing pull requests that fix a bugzilla issue, write the title as: Fix Issue NNNN .... so that the bugzilla issue ill be automatically marked as fixed when it gets pulled. -- | ||||
February 19, 2015 [Issue 14134] Free of large array does not work | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14134 --- Comment #15 from github-bugzilla@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/b4109deef75c6156bd6e95e7008ad091bc9863b4 Merge pull request #1168 from rainers/issue14134 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply