home *** CD-ROM | disk | FTP | other *** search
- Path: e45-hrze.uni-duisburg.de!sn253fe
- From: sn253fe@e45-hrze.uni-duisburg.de (Christoph Feck)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: x ^= y ^= x ^= y;
- Date: 27 Feb 1996 16:21:06 GMT
- Organization: Gerhard-Mercator-Universitaet - Gesamthochschule Duisburg
- Distribution: world
- Message-ID: <4gvb1i$ksk@h20-hrze.uni-duisburg.de>
- References: <1286.6624T1439T237@cs.ruu.nl> <4gnbu5$3n2@maureen.teleport.com>
- NNTP-Posting-Host: e45-hrz.uni-duisburg.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Stephan Schaem (sschaem@teleport.com) wrote:
- : Wessel Dankers (wsldanke@cs.ruu.nl) wrote:
- : : b) is this x ^= y ^= x ^= y; method usable with the blitter?
- : : It would be possible to swap two memory locations with no
-
- Yes, this is what SwapBitsClipRectRastPort() does.
-
- : : extra memory required in three Blit calls. Is the blitter
- : : equally fast with copying as with XOR'ing?
-
- It is always faster to allocate a temporary bitmap and
- use three BltBitMap() calls.
-