Skip to content

Commit 47813ed

Browse files
committed
Changelog - perf
Old: 16668 (19.4%) 1 (0.0%) rec_wars::cvars::Cvars::set_str New: 2803 (3.9%) 1 (0.0%) rec_wars::cvars::Cvars::set_str
1 parent 9473725 commit 47813ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This is a shared changelog for all projects in this repo:
1313
- Update to syn 2
1414
- Internal improvements: unified macro logic so `cvars!` no longer depends on `#[derive(SetGet)]`.
1515
- **Breaking change:** `cvars!` no longer adds `#[derive(Debug, Clone)]` to the generated struct. This might improve compile times with a large (~10k) number of cvars.
16-
- Reduce the amount of code generated per-cvar:
16+
- Reduce the amount of code generated per-cvar (6x fewer lines of LLVM IR):
1717
- Recompile speedup after editing cvars: 10.5s -> 3.5s for 1k cvars (3x faster)
1818
- Recompile speedup after editing other code: 700ms -> 450ms for 1k cvars (1.5x faster)
1919
- The `cvars!` proc macro is no longer experimental and is the recommended way to use cvars because it is more convenient than `#[derive(SetGet)]`.

0 commit comments

Comments
 (0)