Commit graph

5 commits

Author SHA1 Message Date
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites

While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Ashley Wulber
cfa1adaf46 fix: return error if vscode config fails to parse, instead of overwriting 2024-07-17 19:48:34 +02:00
Ashley Wulber
cac3d0b5df chore(theme): set window.autoDetectColorScheme 2024-05-13 11:26:15 -04:00
Ashley Wulber
0ffe3f3a3e cargo fmt 2024-05-13 11:26:15 -04:00
Ashley Wulber
c1cfa024d6 feat: basic vscode theme export support 2024-05-13 11:26:15 -04:00