fire-eggs / YAGP

"Yet Another GEDCOM Parser" - newer/faster/complete GEDCOM parser in C#
Apache License 2.0
9 stars 3 forks source link

Memory: investigate compression #44

Open fire-eggs opened 6 years ago

fire-eggs commented 6 years ago

Investigate using in-memory compression to store "large" string objects.

In particular, note text and other/unknown line chunks.

Useful links:

https://blogs.msdn.microsoft.com/shacorn/2014/11/12/optimizing-memory-footprint-compression-in-net-4-5/ https://madskristensen.net/blog/compress-and-decompress-strings-in-c/ https://github.com/jaime-olivares/zipstorer https://dzone.com/articles/memory-cache-implementation-c