Open vodorok opened 3 months ago
I actually use this functionality in a fork that I've made where I want the source line instead of the sync line of a bug. Storing it as a text blob would turn that from a simple db call to a bunch of string manipulation. As such I would hesitate to agree with the statement "There is no use case to look up the individual Bug Path Events in the server".
@jstevens176 I believe the API would still return the same data structures, let's say the "expanded" format, but it won't be acquired through hundreds of JOIN
s for each Report
query.
There is no use case to look up the individual Bug Path Events in the server, but BPE-s have a dedicated table and are stored in a structured form. It would be enough to store the report paths in a text blob in SQL database because it is enough to render the BPE-s on the fly for a given report. This way, when the results are stored, we would not need to parse the report paths part of the
.plist
files. We would not need to store the events one-by-one in a database table.With this, we would gain storage speed at storage and report removal time too.