File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 <LangVersion >9.0</LangVersion >
1212 <PackageReadmeFile >README.md</PackageReadmeFile >
1313 <PackageLicenseFile >license.txt</PackageLicenseFile >
14- <AssemblyVersion >4.0 .0.0</AssemblyVersion >
15- <FileVersion >4.0 .0.0</FileVersion >
14+ <AssemblyVersion >4.1 .0.0</AssemblyVersion >
15+ <FileVersion >4.1 .0.0</FileVersion >
1616 <PackageTags >Astronomy,FITS,Image</PackageTags >
1717 <RepositoryUrl >https://github.com/SharpAstro/FITS.Lib</RepositoryUrl >
1818 <PackageProjectUrl >https://github.com/SharpAstro/FITS.Lib</PackageProjectUrl >
1919 <Description >Supports reading and writing FITS files</Description >
20- <Version >4.0 .0</Version >
20+ <Version >4.1 .0</Version >
2121 <Authors >Virtual Observatory - India</Authors >
2222 <PackageId >FITS.Lib</PackageId >
2323 <RootNamespace >nom.tam</RootNamespace >
Original file line number Diff line number Diff line change 22
33Changes since forking from [ rwg0/csharpfits] ( https://github.com/rwg0/csharpfits ) .
44
5+ ## v4.1.0
6+
7+ ### SIMD write path and buffered stream bypass
8+
9+ - ** Write methods** (short/int/long/float/double) now use SIMD-vectorized
10+ ` BinaryPrimitives.ReverseEndianness ` on .NET 10+ instead of scalar byte shuffling.
11+ This benefits all write paths including BinaryTable data.
12+ - ** WriteRectangularArray** uses chunked zero-copy writes from the array's contiguous
13+ memory (~ 4MB chunks), eliminating the full-size flat temp buffer allocation.
14+ - ** ReadRectangularArray** bypasses ` BufferedStream ` for large reads (>128KB), reading
15+ directly from the underlying ` FileStream ` .
16+
17+ ** Performance** (299MB float 6248x4176x3 image, .NET 10):
18+
19+ | Operation | v4.0.0 | v4.1.0 |
20+ | -----------| --------| --------|
21+ | Read | ~ 197ms | ** ~ 142ms** (-28%) |
22+ | Write | ~ 3,219ms | ** ~ 113ms** (-96%) |
23+
524## v4.0.0 (breaking)
625
726### Rectangular arrays for image data
You can’t perform that action at this time.
0 commit comments