Xref: utzoo comp.graphics:4143 comp.windows.x:7323 Path: utzoo!attcan!uunet!lll-winken!ames!ucsd!orion.cf.uci.edu!uci-ics!venera.isi.edu!raveling From: raveling@vaxb.isi.edu (Paul Raveling) Newsgroups: comp.graphics,comp.windows.x Subject: Re: Luminance from RGB Message-ID: <7280@venera.isi.edu> Date: 17 Jan 89 02:04:17 GMT References: <572@midgard.Midgard.MN.ORG> <10322@well.UUCP> <7266@venera.isi.edu> Sender: news@venera.isi.edu Reply-To: raveling@vaxb.isi.edu (Paul Raveling) Organization: USC-Information Sciences Institute Lines: 29 In article <7266@venera.isi.edu> raveling@vaxb.isi.edu (Paul Raveling) writes: > > Next, maybe tomorrow, I'll try the same stuff with some > hand coded assembly language. It should be easy to beat > the compiler by LOTS. > Here's the result of using hand coded assembly language for the "table" algorithm: Test Raw Timing Less Overhead ---- ---------- ------------- C version 34.9 16.1 Assembly version 10.2 6.4 Anyone have a better C compiler? If anyone would like to check this hacked assembly version on other systems, let me know. I can either email it or post it, but should take a few minutes to clean the source up a little & stick in warnings that very few 68K assemblers use identically the same source syntax. --------------------- Paul Raveling Raveling@vaxb.isi.edu