[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inner Loops
- Subject: Re: Inner Loops
- From: Greg Kochanski <gpk@bell-labs.com>
hd and tl are single pointer operations. Limbo lists are stored (roughly) as follows: struct list { data-of-some-type hd; struct list *tl; }; where tl points to the next item in the list. So, given a list x, the limbo hd and tl operators correspond to x.hd and x.tl. One really can't make them much faster. Offhand, I don't know exactly how len is implemented.
- Prev by Date: re: Inner Loops
- Next by Date: Re: Remote execution / application migration
- Prev by thread: re: Inner Loops
- Next by thread: RE: Inner Loops
- Index(es):