From 90b3eec54f86455ac416db1f2ca4d9e25db6a3e3 Mon Sep 17 00:00:00 2001 From: Andrew E-W Date: Mon, 3 Apr 2017 19:48:38 +1000 Subject: [PATCH] Changed from FileStream to ReadFile / WriteFile for the ultimate I/O performance --- Haystacks.csproj | 3 + Properties/AssemblyInfo.cs | 2 +- Stacker.cs | 68 +++- TestHarness/Program.cs | 3 +- TestHarness/bin/Debug/Haystacks.dll | Bin 10240 -> 16384 bytes TestHarness/bin/Debug/Haystacks.pdb | Bin 26112 -> 30208 bytes TestHarness/bin/Debug/TestHarness.exe | Bin 8192 -> 8192 bytes TestHarness/bin/Debug/TestHarness.pdb | Bin 17920 -> 15872 bytes WinFileFlagsAndAttributes.cs | 30 ++ WinFileIO.cs | 512 ++++++++++++++++++++++++++ bin/Debug/Haystacks.dll | Bin 10240 -> 16384 bytes bin/Debug/Haystacks.pdb | Bin 26112 -> 30208 bytes 12 files changed, 603 insertions(+), 15 deletions(-) create mode 100644 WinFileFlagsAndAttributes.cs create mode 100644 WinFileIO.cs diff --git a/Haystacks.csproj b/Haystacks.csproj index 69b63bd..44b3be8 100644 --- a/Haystacks.csproj +++ b/Haystacks.csproj @@ -20,6 +20,7 @@ DEBUG;TRACE prompt 4 + true pdbonly @@ -43,6 +44,8 @@ + +