[Bug 3323] New: math routine performance tweaks

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Aug 23 03:38:42 EDT 2007


http://bugzilla.icculus.org/show_bug.cgi?id=3323

           Summary: math routine performance tweaks
           Product: Quake 3
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: devhc97 at gmail.com
         QAContact: quake3-bugzilla at icculus.org


I've noticed that RotatePointAroundVector() has changed over time (or Tremulous
has its own version). The latest one in Q3 is longer, reuses other routines,
and runs much more slower (2x on my compiler). WTF is up with that? I know
readability is also important, but not for math routines. Besides, it's not any
more readable than the older versions. So here's my version, it beats others by
code size, readability and most importantly, performance. Then I've also added
a tweak to AngleVectors().


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list