Wireshark-bugs: [Wireshark-bugs] [Bug 3037] RTP/MPEG-TS export is dead slow

Date: Sat, 8 Nov 2008 15:39:19 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3037


Guy Harris <guy@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Guy Harris <guy@xxxxxxxxxxxx>  2008-11-08 15:39:18 PDT ---
I changed the code in copy_file() to use the "standard I/O library" routines to
read and write - i.e., use ws_fopen() to open files, use getc(), fwrite(), and
putc() to write, and fclose() to close - which means it should use a buffer of
"appropriate" size (which might be bigger than 1024 bytes, probably 4K or 8K in
most cases, those often being the chunk size for file systems).

That seems to speed things up 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.