Hi, is there a difference between -- assume that x is a node n = x.next and n = node.next(x) ? I guess that node.prev(n) needs the prev pointer set, right? Patrick
On 29-11-2010 10:33, Patrick Gundlach wrote:
Hi,
is there a difference between
-- assume that x is a node n = x.next
and
n = node.next(x)
?
I guess that node.prev(n) needs the prev pointer set, right?
x.next and node.next are similar but sometimes it's handy to have the next as function; performance is the same ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Patrick Gundlach