Commit d12640d
Optimize import-time initialization path
Use System.IO.Path::Combine for assembly path resolution and cache fixed Sodium key/seal/seed byte sizes without extra native calls during import. On this machine, cold import dropped from ~71.1 ms baseline to ~54.5 ms in repeated runs (~23% faster), with all tests still passing.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 0477be7 commit d12640d
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments