eryph-org / dotnet-genepoolclient

.NET Client for Genepool API
MIT License
0 stars 0 forks source link

Harmonize console output and improve packing speed #3

Closed ChristopherMann closed 7 months ago

ChristopherMann commented 8 months ago

Harmonize the console output by using Spectre.Console for all output.

Improve the packing speed by streaming the compressed gene directly into the chunk files. This avoids reading the same data from disk multiple times.

ChristopherMann commented 8 months ago

I made a slight change to the logic of GenePackerStream. It now writes a single chunk file even when no bytes are written. This way, it is consistent with FileStream which also creates an empty file.