mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
PhotocraftApp::new and with_context return Box<Self>, and the test harness holds the Box (a forwarding eframe::App impl for Box<PhotocraftApp>). The 85 KiB app was held by value in the test, its helper, build_app, build_eframe and from_builder, all under the first egui pass. The 11 overflowing tests need 0.34-0.78 MiB of stack instead of 1.7-2.0 MiB (mask_click 2032 -> 748 KiB, navigator_gpu 1956 -> 760, native_tests 1848 -> 748, keys_run 1708 -> 776). The 8 MiB test thread for the Type Mask click test is removed.