hello! i saw
--threads on the CLI help and am wondering what is made parallel?
I know that tdb handles aren't thread safe but am thinking of ways to build something parallel and ordered on top of multiple tdb files and cursors within a single process. possibly a batching multi-multicursor? could that work, or is there a good chance that i'd run into other issues that i'm not thinking of? thanks!
tdb_multi_cursor_newbut calling a version of
tdb_multi_cursor_resetthat threads the initial calls to
tdb_cursor_peekmight actually do the trick (since many cursors will be exhausted right away). i'll have to see how much time is spent in
tdb_multi_cursor_resetwhen it's created
_tdb_cursor_next_batchis called again