about summary refs log tree commit diff
path: root/users/Profpatsch/jbovlaste-sqlite/JbovlasteSqlite.hs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-09-28T14·12+0200
committerclbot <clbot@tvl.fyi>2023-09-29T17·11+0000
commit3863a2ebd66d1f613650342dc694f6c5c241a523 (patch)
treeab277c69b5a2ab642c38defa5d7ba9468a809ebb /users/Profpatsch/jbovlaste-sqlite/JbovlasteSqlite.hs
parent6c360f2b64b06418f7c49daf9c9744d6b53fc077 (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/Profpatsch/jbovlaste-sqlite/JbovlasteSqlite.hs')
0 files changed, 0 insertions, 0 deletions