ribbons / RadioDownloader

An easy to use application for managing podcast subscriptions and downloads.
https://nerdoftheherd.com/tools/radiodld/
GNU General Public License v3.0
15 stars 11 forks source link

Unknown download errors are now serialised as binary instead of XML. #184

Closed ribbons closed 11 years ago

ribbons commented 11 years ago

Original report from Matt Robinson at 12:21:34 on 2012-09-10

Currently, the data for unknown download errors is stored as an xml serialisation of a list of DldErrorDataItem objects. However, the drawback to doing this is that .NET has to generate and compile a temporary XML serialisation assembly to do this, which is slow and also seems fairly prone to failure (broken compilers, disk space, permissions etc).

It would be more reliable, faster (and use less space) to serialise the data to binary format instead.


Imported from Bug 697 in the NerdoftheHerd.com Bugzilla.

ribbons commented 11 years ago

Original comment from Matt Robinson at 12:45:41 on 2012-09-10

Implemented in 70e7f4c - the code now just serialises an ErrorReporting object to the database as binary instead of fiddling about with generic lists of DldErrorDataItem objects.