Added native OS file system copy to efile
Blaine Whittle
BWhittle@REDACTED
Wed Oct 6 02:18:31 CEST 2010
Fixed an issue, and included the .beam file since prim_file is preloaded.
New location is at
git fetch git://github.com/bwhittle/otp.git prim_file_copy2
-----Original Message-----
From: erlang-patches@REDACTED [mailto:erlang-patches@REDACTED] On Behalf Of Blaine Whittle
Sent: Tuesday, October 05, 2010 12:34 PM
To: erlang-patches@REDACTED
Subject: [erlang-patches] Added native OS file system copy to efile
prim_file:copy has a comment that reads " xxx Should be moved down to the driver for optimization". This patch does just that, however to ensure compatibility I haven't changed the existing implementation of prim_file:copy/3; I've added two new functions prim_file:raw_copy/2, and prim_file:raw_copy/3 which perform the copy in the driver.
git fetch git://github.com/bwhittle/otp.git prim_file_copy
More information about the erlang-patches
mailing list