diff options
author | Erik Johnston <erik@matrix.org> | 2018-06-05 14:39:35 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-06-05 16:40:16 +0100 |
commit | 918a5055ff9acb23476a178a74ca3363366504ed (patch) | |
tree | a282e75101926b961956b6ebf08837efb11edb26 /synapse/storage/util | |
parent | Implement backgroud update for chunks (diff) | |
download | synapse-github/erikj/chunks_stern.tar.xz |
Use fractions for ordering of chunks github/erikj/chunks_stern erikj/chunks_stern
Using floats turned out to be a bad idea, as it broke subtely if the needed precision was too large. This PR replaces the implementation with one that uses fractions and stores them in the database as two integers.
Diffstat (limited to 'synapse/storage/util')
0 files changed, 0 insertions, 0 deletions