diff options
author | Profpatsch <mail@profpatsch.de> | 2023-09-28T14·12+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-09-29T17·11+0000 |
commit | 3863a2ebd66d1f613650342dc694f6c5c241a523 (patch) | |
tree | ab277c69b5a2ab642c38defa5d7ba9468a809ebb /users/j4m3s | |
parent | 6c360f2b64b06418f7c49daf9c9744d6b53fc077 (diff) |
refactor(users/Profpatsch/whatcd-resolver): more efficient inserts r/6671
Instead of inserting torrents and every tour group seperately, insert the tour groups and then the torrents in one go (unzipped). I finally found a good use for list comprehensions, flattening nested lists. Change-Id: I7dfc765ad058dff3afb3b03887141b334a4b1988 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9486 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> Autosubmit: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/j4m3s')
0 files changed, 0 insertions, 0 deletions