summaryrefslogtreecommitdiff
path: root/src/gltf_render
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-16 23:04:05 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit8ce27cfdbab6d576db36403afbcef9659cb6dbdc (patch)
treed9c05dac053b17761e0d139cf14a192d49b4a46d /src/gltf_render
parent1b59d3e8eca0037d5c9fcb412e7c63cbe508f4ac (diff)
downloadsketchbook-8ce27cfdbab6d576db36403afbcef9659cb6dbdc.tar.gz
sketchbook-8ce27cfdbab6d576db36403afbcef9659cb6dbdc.zip
Load sketch libraries through a symlink and identify builds by stat
A load copied the whole library to $XDG_RUNTIME_DIR (a read/write loop across filesystems) and then hashed all of it for the build id: 40 ms for a 10 MB Debug library, 200 ms for drat-meout's 58 MB. dlopen only needs a fresh name, so the host links one to an fd open on the library, which also pins the file a build may rename over meanwhile. The build id recordings carry is a hash of the file's inode, size and modification time: Zig's own linker writes no build-id note in Debug.
Diffstat (limited to 'src/gltf_render')
0 files changed, 0 insertions, 0 deletions