Re: the garbage collector
From: Rob Kennedy (me3_at_privacy.net)
Date: 04/08/04
- Next message: Skybuck Flying: "Re: web services and error return codes ?"
- Previous message: Skybuck Flying: "Re: Evaluating Exceptions, Try Except and Try Finally"
- In reply to: Skybuck Flying: "the garbage collector"
- Next in thread: Skybuck Flying: "Re: the garbage collector"
- Reply: Skybuck Flying: "Re: the garbage collector"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 08 Apr 2004 11:46:12 -0500
Skybuck Flying wrote:
> Are linked lists still possible ?
>
> I think so... but all the references of the list will probably be updated...
> that could become expensive with large lists :) (many nodes :) )
Linked lists are still possible. Each node object would hold a reference
to the next node object. If the garbage collector at some point decides
that it needs to move one of those nodes, it would also update the
reference held by the other node. Totally and completely transparent to
the programmer since the exact value of the reference is unimportant.
-- Rob
- Next message: Skybuck Flying: "Re: web services and error return codes ?"
- Previous message: Skybuck Flying: "Re: Evaluating Exceptions, Try Except and Try Finally"
- In reply to: Skybuck Flying: "the garbage collector"
- Next in thread: Skybuck Flying: "Re: the garbage collector"
- Reply: Skybuck Flying: "Re: the garbage collector"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|