Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: Re: Efficient swap() (NOT AGAIN, DAMMIT!)
Message-ID: <1991Jan27.104204.4735@zoo.toronto.edu>
Organization: U of Toronto Zoology
References: <1991Jan13.050236.11634@ux1.cso.uiuc.edu>
Date: Sun, 27 Jan 1991 10:42:04 GMT

In article <1991Jan13.050236.11634@ux1.cso.uiuc.edu> heal@ux1.cso.uiuc.edu (Loren Heal) writes:
>Here is a one-line C macro, swap()...

This comes up every few months.  See the Frequently-Asked-Questions list.

It's both unsafe and inefficient, by the way, and as an art form it lacks
charm.  Especially on the tenth repetition.  Is there some special reason
why you posted it?
-- 
If the Space Shuttle was the answer,   | Henry Spencer at U of Toronto Zoology
what was the question?                 |  henry@zoo.toronto.edu   utzoo!henry
