[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#585407: apt: CopyFile() could use splice() to avoid memory copies



Source: apt
Version: 0.7.25.3
Severity: wishlist

While reading GLib's NEWS file, I noticed that GIO uses the
splice() system call since 2.23.4 to copy files in order to
avoid copies in memory. It might make sense to do the same
for apt-pkg's CopyFile(), as it is faster than the current
approach and just cooler.
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpEA7aqLf2D3.pgp
Description: PGP signature


Reply to: