ExcelFAST 6.2611.14-Beta
See the version list below for details.
dotnet add package ExcelFAST --version 6.2611.14-Beta
NuGet\Install-Package ExcelFAST -Version 6.2611.14-Beta
<PackageReference Include="ExcelFAST" Version="6.2611.14-Beta" />
<PackageVersion Include="ExcelFAST" Version="6.2611.14-Beta" />
<PackageReference Include="ExcelFAST" />
paket add ExcelFAST --version 6.2611.14-Beta
#r "nuget: ExcelFAST, 6.2611.14-Beta"
#:package ExcelFAST@6.2611.14-Beta
#addin nuget:?package=ExcelFAST&version=6.2611.14-Beta&prerelease
#tool nuget:?package=ExcelFAST&version=6.2611.14-Beta&prerelease
ExcelFAST 🌟
- ExcelFowardArraySegmentSpeedyTransfer
- Without using any external libraries.
What does that mean?
- Yet another Excel reader ?,
- Starting with .Net 8 as the performant Runtime (See Benchmarks)
- .Net9 gives an extra 5% boost,
- .Net10 Another 5% over .Net9 😉
Lets take each of the above elements and explain:
Excel 📈
- Open Large 2007 (Onwards) XLSX file formats and XLSB in V3.##
- Zip Deflate format Only
Foward
- Force the usage of minimal memory,
- Only 1 sheet open at a time
- Read only
- Only unzip the sheet(s) when they are asked for
- Only load the shared strings upto the current request number
ArraySegment 📦
- This is to be targetted at memory restricted environments (i.e. ASP Net VM's)
- So each of the returned rows are not copied into a new array, but instead returned as an
ArraySegmentof the original array, so that the GC does not have to do any extra work. - There are also enforcements to ensure that
- the
ArraySegmentis not used outside of the current row, and that the next row will invalidate the previous row'sArraySegment(i.e. it will be overwritten with the next row's data) - Single
Cellsreturned do not have scope outside of the caller (i.e. ref Structs), so the compiler can give warnings
- the
With ref struct:
- Compiler prevents storing in fields, arrays, or heap allocations
- Caller cannot accidentally hold onto it past its valid lifetime
- Type system enforces the "transient view" contract
Speedy 🚀
- Try to be as fast as possible, i.e.
- Forward only Lazy loading
- Only "Quick" decipher / convert of the cell(s) types to ease GC pressure
- No attempt at "creating / using" datatables with headers etc.
- Use
IEnumerables with initial offset starts (Row / Column) - Allow
CancellationTokens to be used to allow page transitioning cancellation (More on this later)
- Now the fastest in Real world usage 2025-11-19 onwards
- Strongly-typed accessors (
AsInt32,AsDateTime, etc)
CancellationTokens
- This is to allow the Large files to be Aborted
IDisposable
- Got to tidy up those
Temp Files, and release theFileStream's - Use the OS's
Temp Filecaching, so if the memory is tight then the Owner app will not have to worry about OOM exceptions, or having to use Swap Disk speeds.
Q & A's
- Q: There are others that are faster
- A: Agreed, but then
- They do not have range extraction.
- Or
optionallyallow the use of the OS's TempFile System to store massive sheets - Or re-use of already extracted (massive) sheets
- Or allow multiple sheets to be read at the same time
- because others use global memory to represent the current row
- Or have a single access into the Zip Excel file
Transfer 🌐
- The reason for this project, is to handle very large XSLX files (i.e. > 500K rows with > 180 columns per sheet, with multiple sheets of this size)
- For
ETLvalidation scenarios, i.e. make sure that the user modified data that has been transferred has interaction rules applied, before moving onto theTandLstages - Try not to hit / store in the LOH
- No internal .Net memory of previously loaded sheets / rows.
Q & A's
- Q:
- A:
Caveats ⛔:
Will Only Open 1 sheet at a time 🤖
- Save on memory and threading overhead of external disposable(s)
Will Not Do: Poco 🤖
- A POCO / Type populator (Extensions can be written for that later)
Will Not Be a: Writer / Modifier 📚
- Totally beyond the scope of this project remit
Ranges
- Does not currently have implementations for Range extraction (as that requires a little thought on the memory rental!)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- Excel-PRIME (>= 6.2611.14-Beta)
-
net11.0
- Excel-PRIME (>= 6.2611.14-Beta)
-
net8.0
- Excel-PRIME (>= 6.2611.14-Beta)
-
net9.0
- Excel-PRIME (>= 6.2611.14-Beta)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.2611.15 | 99 | 11/15/2026 |
| 6.2611.14-Beta | 67 | 11/14/2026 |
## 2026-11-13 - V6 - Excel_FAST - Beta
- ✅ Add .Net11 TFM support across all four target frameworks (`net8.0`, `net9.0`, `net10.0`, `net11.0`)
- Replaced the previous float round-trip memory comparison in CellValue.IsExactlyDouble with a fast memory-overlay check on the underlying 64-bit decimal mantissa (lo64 <= 999_999_999_999_999UL and hi == 0).
## 2026-11-12 - V6 - Excel_FAST - Alpha
- ⛓️💥 **Breaking Change(s)**
- If you want to use `Async` then create a `new Excel_PRIMEAsync()`
- Same applies to `Xlsb`
- Use `ReadOnlySpan<Cell>` instead of `ArraySegment<Cell>`
- Using foreach over ReadOnlySpan<T> is guaranteed to be allocation-free and boxing-free. If you need LINQ-style processing on a span without allocations, iterate using for or foreach directly over the span
- ✅ **ExcelFAST High-Throughput Subsystem**:
- ✅ Dedicated zero-allocation sequential reader pipeline (`IExcelFast`, `ISheetFast`, `IRowFast`).
- ✅ Format-specific implementations: `ExcelFastXlsx` for OpenXML (.xlsx) and `ExcelFastXlsb` for binary OpenXML (.xlsb).
- ✅ Array pooling integration (`ReadOnlySpan<Cell>`) with `PooledCellView` and thread-static buffers for zero GC allocation during hot iteration loops.
- ✅ Full support across .NET 8.0, .NET 9.0, and .NET 10.0.
- ✅ Integrated test suite and benchmarking coverage in `ExcelFAST.Tests`.
- ✅ Performance Optimizations for Prime (See breaking changes above)
# 2026-10-18 - V5 nuget update
- Update nugets
- Made benchmarks run .net**9** and .net**10** as well
- **Memory & Allocation Optimizations**
- Some tinkering in the way memory is used and allocated, especially in the Xlsb workflow
- Eliminated String Caching Overhead: Removed the ConcurrentDictionary cache for small strings in CellValue, which introduced locking and hashing overhead during high-volume parsing.
- Simplified SIMD Decoding: Reverted SimdStringDecoder.cs to use Vector<ushort> instead of explicit Vector512/Vector256/Vector128 branching, reducing overhead for common short strings.
- Optimized Column Parsing: Replaced SearchValues with simple loops in ExcelColumns.cs for cell reference parsing, as the overhead of SearchValues was counterproductive for 1-3 character strings.
- Tuned Method Inlining: Removed AggressiveOptimization from several complex methods to allow better JIT tiered compilation and reduce instruction cache pressure.