Ticket #1454 (closed Patch)

Opened 5 years ago

Last modified 5 years ago

filezilla server memory/speed optimization

Reported by: tropics Owned by:
Priority: normal Component: Other
Keywords: Cc: tropics, codesquid
Operating system type: Operating system version:

Description

the filezilla server makes two copies of a list in
GetNotifications(), which are thrown away shortly
afterwards.
the proposed patch swaps the list with an empty one
instead of copying&clearing it. a pass-by-reference
argument is used instead of using the return value to get
around the second copy.

Attachments

patch4.diff Download (1.7 KB) - added by tropics 5 years ago.
patch v1

Change History

Changed 5 years ago by tropics

patch v1

Changed 5 years ago by codesquid

Thanks, applied.

Note: See TracTickets for help on using tickets.