itamarst,
@itamarst@hachyderm.io avatar

@scy ZSTD compression library/standard has a way to create compression "dictionaries" (mapping from short identifier to repeated phrase) that get stored separately from the file. So this might let you do what you want.

E.g. this binding appears to expose the relevant API (no personal experience): https://pyzstd.readthedocs.io/en/latest/#dictionary

Edit: Reading the docs, it claims it's not necessary on larger files. You could try. Anyway zstd is Very Good Compression so worth using regardless.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ArtificialIntelligence
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines