In some sense there's probably a database compression scheme that does something similar. Usually people care too much about fidelity