mcap/modules
Musa Mahmood 22cad98500 [0.1.15] Startup: a catalog cache, the catalog on the background threads, rpmalloc, and [startup] timings
The catalog is kept in .catalog-cache in the library, each entry with the size and modified time of
the file it was read from; a start takes the entries whose file is unchanged from it and reads only
the rest. It is saved once the catalog is complete and has changed (at most every 30 s) and at
shutdown. After a reboot the catalog was complete 145 ms after launch, against 3.5 s reading every
file.

The catalog loads on the background Thread_Group, every worker of it, instead of the four preview
workers. rpmalloc (modules/Default_Allocator, 2.0.1-jai.16) takes the place of Jai's single locked
heap: entries from the cache 380 -> 50 ms, and reading the files now scales with threads.
thread_idle is called where workers idle. check_targets.jai checks other OSes with Jai's own
allocator, as rpmalloc runs at compile time with the target's OS layer.

-cold drops the library from the system's file cache first; -no-catalog-cache and -catalog-threads N
are for measuring. [startup] log lines time the listing, the first frame, the cache, the first
preview and the complete catalog.
2026-10-13 07:26:42 +01:00
..
Basic [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
Capture_File [0.1.8] Video capture phase 5: sound, from the computer and the microphone, in sync 2026-10-10 08:08:47 +01:00
Capture_Text [0.0.0] .mcap version 2: OCR stored in each capture, search, a library scan, sorting by date; turned text 2026-10-07 21:51:18 +01:00
Default_Allocator [0.1.15] Startup: a catalog cache, the catalog on the background threads, rpmalloc, and [startup] timings 2026-10-13 07:26:42 +01:00
ffmpeg [0.0.9] Import: videos and animated GIFs, in .mcap version 4 2026-10-09 23:10:55 +01:00
File_Watcher [0.1.14] The library is watched: files added or deleted outside the app come and go on their own 2026-10-13 06:36:03 +01:00
Image_Decode [0.0.9] Import: videos and animated GIFs, in .mcap version 4 2026-10-09 23:10:55 +01:00
imgui-dx11-win32 [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
imgui-sdl [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
imgui-source [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
jaison [0.0.8] Import: any folder of screenshots and photos into the library, a folder for each source 2026-10-09 08:15:12 +01:00
Labels [0.0.5] Labels: SigLIP 2 labels and image vectors in .mcap version 3 chunks; label: and like: search 2026-10-08 11:37:21 +01:00
OCR [0.0.10] Shutdown: say what it is waiting on, stop OCR mid-batch, no race with the frame loop 2026-10-09 23:37:35 +01:00
onnxruntime [0.0.11] Segmentation phases 1-2: Mask2Former exported to ONNX, and modules/Segment to run it 2026-10-10 03:39:28 +01:00
Screen_Record [0.1.10] Recording toolbar: a System sound button beside Mic 2026-10-10 08:20:13 +01:00
sdl3 [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
Secure_Memory [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
Segment [0.0.13] Segmentation phase 4: per-folder opt-in, the segmentation scan, -segment 2026-10-10 04:13:03 +01:00
Serialization [0.0.8] Import: any folder of screenshots and photos into the library, a folder for each source 2026-10-09 08:15:12 +01:00
Shared_Memory_Channel [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
Snagx [0.0.8] Import: any folder of screenshots and photos into the library, a folder for each source 2026-10-09 08:15:12 +01:00
Thread [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
XDG [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
Hash_Table.jai [0.0.0] Capture viewer: a grid of every .mcap's preview, and one capture at full size in a window of its own 2026-10-07 11:41:38 +01:00
Runtime_Support.jai [0.0.0] OCR: an onnxruntime module and an OCR module, PP-OCRv5 mobile and server, on the GPU through CUDA when it can 2026-10-07 20:45:05 +01:00