diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-08-02 15:21:56 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-08-02 15:21:56 +0200 |
commit | 7528af6d22d3967be9727f6e2d88dfcbf0f78ce9 (patch) | |
tree | 40f16ad103c89240cc68f6eaa35d278af42fb9ae /dedup/compression.py | |
parent | 2712edb550968ce7ec8cd9800241d7944666631a (diff) | |
download | debian-dedup-7528af6d22d3967be9727f6e2d88dfcbf0f78ce9.tar.gz |
model comparability as an equivalence relation
webapp has had a relation hash_functions, that modeled "comparable
functions". Images should not be compares to other files, since it makes
no sense to store them as the RGBA stream, that is being hashed. This
comparability property resembles an equivalence relation. So the
function table gains a column eqclass. Each class is represented by a
number and functions are statically assigned to these classes. Now the
filtering happens in SQL instead of Python.
Diffstat (limited to 'dedup/compression.py')
0 files changed, 0 insertions, 0 deletions