digitalmars.D.learn - Reference counting
- Qian Xu (19/19) Mar 02 2009 Hi All,
- BCS (3/7) Mar 02 2009 Almost certainly no. D Uses a mark-and-sweep GC not a ref counting one, ...
- Qian Xu (6/17) Mar 02 2009 sorry to have heard about that.
- Jarrett Billingsley (2/4) Mar 02 2009 Yeah, I hear a lot of people suffer from that these days ;)
Hi All,
is it possible to see the reference counting of a char[]?
I have some problems with PullParser (tango).
I put an assertion here:
-----------------------------------------------------------------------------
private XmlTokenType doAttributeName()
{
auto p = text.point;
auto q = p;
auto e = text.end;
assert (p < e, "No!!! text.point is after text.end!!");
char[] tmp = "";
while (*q > 63 || text.attributeName[*q])
-----------------------------------------------------------------------------
The assert will be broken 1-2 times, when I run a same test 1000 times.
So I want to know about the inside world of D-Compiler.
Best regards
--Qian Xu
Mar 02 2009
Hello Qian,Hi All, is it possible to see the reference counting of a char[]?Almost certainly no. D Uses a mark-and-sweep GC not a ref counting one, so there isn't a reference count.
Mar 02 2009
BCS wrote:Hello Qian,sorry to have heard about that. I am now suffering from debugging D programs in linux (opensuse). -- Xu, Qian (stanleyxu) http://stanleyxu2005.blogspot.comHi All, is it possible to see the reference counting of a char[]?Almost certainly no. D Uses a mark-and-sweep GC not a ref counting one, so there isn't a reference count.
Mar 02 2009
On Mon, Mar 2, 2009 at 5:56 PM, Qian Xu <quian.xu stud.tu-ilmenau.de> wrote:sorry to have heard about that. I am now suffering from debugging D programs in linux (opensuse).Yeah, I hear a lot of people suffer from that these days ;)
Mar 02 2009








Jarrett Billingsley <jarrett.billingsley gmail.com>