[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3578: allmydata.immutable.encode.Encoder._encode_tail_segment is unnecessarily duplicative of _encode_segment
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Jan 1 20:12:26 UTC 2021
#3578: allmydata.immutable.encode.Encoder._encode_tail_segment is unnecessarily
duplicative of _encode_segment
---------------------+---------------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
---------------------+---------------------------
This _encode_tail_segment method is an almost-identical copy of the nearby
_encode_segment method.
The two differ ever so slightly in their treatment of short reads.
However, this could easily be dealt with by a unified function which would
be much less complex than the sum of the complexity of these two methods.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3578>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list