home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:13589 alt.folklore.computers:13890
- Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ncar!hsdndev!news.cs.umb.edu!mzraly
- From: mzraly@ra.cs.umb.edu (Michael S. Zraly)
- Newsgroups: comp.lang.c,alt.folklore.computers
- Subject: What is Duff's Device?
- Message-ID: <1992Sep12.091733.522@cs.umb.edu>
- Date: 12 Sep 92 09:17:33 GMT
- Sender: news@cs.umb.edu (USENET News System)
- Distribution: na
- Organization: University of Massachusetts at Boston
- Lines: 13
- Originator: mzraly@ra.cs.umb.edu
- Nntp-Posting-Host: ra.cs.umb.edu
-
- I understand that Duff's Device is a technique used to unroll a
- critical loop, along the lines of what one might find in a routine like
- memcpy(). Can someone please post or email an example of code using
- Duff's Device?
-
- Finally, is Duff's Device named after Bell's Tom Duff?
-
- Thanks,
- Mike
-
- --
- Mike Zraly Do not meddle in the affairs of wizards,
- mzraly@cs.umb.edu for you are crunchy and good with ketchup.
-