home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13589 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  961 b 

  1. Xref: sparky comp.lang.c:13589 alt.folklore.computers:13890
  2. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ncar!hsdndev!news.cs.umb.edu!mzraly
  3. From: mzraly@ra.cs.umb.edu (Michael S. Zraly)
  4. Newsgroups: comp.lang.c,alt.folklore.computers
  5. Subject: What is Duff's Device?
  6. Message-ID: <1992Sep12.091733.522@cs.umb.edu>
  7. Date: 12 Sep 92 09:17:33 GMT
  8. Sender: news@cs.umb.edu (USENET News System)
  9. Distribution: na
  10. Organization: University of Massachusetts at Boston
  11. Lines: 13
  12. Originator: mzraly@ra.cs.umb.edu
  13. Nntp-Posting-Host: ra.cs.umb.edu
  14.  
  15. I understand that Duff's Device is a technique used to unroll a
  16. critical loop, along the lines of what one might find in a routine like
  17. memcpy().  Can someone please post or email an example of code using
  18. Duff's Device?
  19.  
  20. Finally, is Duff's Device named after Bell's Tom Duff?
  21.  
  22. Thanks,
  23.   Mike
  24.  
  25. -- 
  26. Mike Zraly        Do not meddle in the affairs of wizards,
  27. mzraly@cs.umb.edu    for you are crunchy and good with ketchup.
  28.