[ros-bugs] [Bug 4952] New: Simple optimization in rapps/loaddlg.c

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Mon Nov 9 06:53:33 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4952

           Summary: Simple optimization in rapps/loaddlg.c
           Product: ReactOS
           Version: TRUNK
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: Patches
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: love.nystrom at gmail.com
         QAContact: ros-bugs at reactos.org


Assign the 'AppInfo->szUrlDownload' string length to a variable,
to avoid calling 'wcslen' multiple times.

Variables are cheap, and programmers should not assume 
that the optimizer will remove this type of inefficient code.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list