Wireshark-bugs: [Wireshark-bugs] [Bug 4303] New: Optimize wireshark

Date: Mon, 7 Dec 2009 15:05:51 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4303

           Summary: Optimize wireshark
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: darkjames@xxxxxxxxxxxxxxxx


Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4037|                            |review_for_checkin?
               Flag|                            |

Created an attachment (id=4037)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4037)
This patch get rid of the slow sprintfs in address_to_str_buf()

Build Information:

--
According to comment for ep_address_to_str:

/*XXX FIXME the code below may be called very very frequently in the future.
  optimize it for speed and get rid of the slow sprintfs */

Replace some g_snprintf() with 'probably' faster version.

If this patch gets accepted, I'll change bytestring_to_str() to use new
functions as well.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.