Skip to content

replace lazy_static with OnceLock - #78

Merged
slinder1 merged 1 commit into
users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638from
users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0
Aug 11, 2026
Merged

replace lazy_static with OnceLock#78
slinder1 merged 1 commit into
users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638from
users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0

Conversation

@slinder1

@slinder1 slinder1 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

move all the old static stuff behind a single type, and have
one static instance that is populated in praddle.rs and just
used everywhere else

Change-Id: I73da2d654074bfc413433187d8ac7a699fcac1c0

@slinder1
slinder1 changed the base branch from main to users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 August 11, 2026 14:35
@slinder1
slinder1 marked this pull request as ready for review August 11, 2026 14:47
@slinder1
slinder1 force-pushed the users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0 branch from ecfb5fc to 95897e7 Compare August 11, 2026 14:54
@slinder1
slinder1 marked this pull request as draft August 11, 2026 14:57
@slinder1
slinder1 changed the base branch from users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 to main August 11, 2026 15:08
@slinder1
slinder1 changed the base branch from main to users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 August 11, 2026 15:16
@slinder1
slinder1 marked this pull request as ready for review August 11, 2026 15:16
@slinder1
slinder1 marked this pull request as draft August 11, 2026 15:19
@slinder1
slinder1 changed the base branch from users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 to main August 11, 2026 15:19
@slinder1
slinder1 changed the base branch from main to users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 August 11, 2026 15:19
@slinder1
slinder1 marked this pull request as ready for review August 11, 2026 15:19
@slinder1 slinder1 changed the title dev replace lazy_static with OnceLock Aug 11, 2026
@slinder1
slinder1 marked this pull request as draft August 11, 2026 15:28
@slinder1
slinder1 changed the base branch from users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 to main August 11, 2026 15:29
@slinder1
slinder1 changed the base branch from main to users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 August 11, 2026 15:29
@slinder1
slinder1 marked this pull request as ready for review August 11, 2026 15:29
@slinder1
slinder1 marked this pull request as draft August 11, 2026 16:05
@slinder1
slinder1 changed the base branch from users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 to main August 11, 2026 16:05
@slinder1
slinder1 changed the base branch from main to users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 August 11, 2026 16:05
@slinder1
slinder1 marked this pull request as ready for review August 11, 2026 16:05
@slinder1
slinder1 marked this pull request as draft August 11, 2026 16:29
@slinder1
slinder1 changed the base branch from users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 to main August 11, 2026 16:29
@slinder1
slinder1 force-pushed the users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0 branch from 95897e7 to 9475dc3 Compare August 11, 2026 16:29
@slinder1
slinder1 changed the base branch from main to users/slinder1/Id6e008c7b9d25d181017f01d0f113c42fa333638 August 11, 2026 16:29
@slinder1
slinder1 marked this pull request as ready for review August 11, 2026 16:30
@slinder1
slinder1 force-pushed the users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0 branch 2 times, most recently from cf84e75 to 9ed93c4 Compare August 11, 2026 17:09
move all the old static stuff behind a single type, and have
one static instance that is populated in praddle.rs and just
used everywhere else

Change-Id: I73da2d654074bfc413433187d8ac7a699fcac1c0
@slinder1
slinder1 force-pushed the users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0 branch from 9ed93c4 to d64fc8d Compare August 11, 2026 17:20
@slinder1
slinder1 merged commit d31ff0b into main Aug 11, 2026
2 checks passed
@slinder1
slinder1 deleted the users/slinder1/I73da2d654074bfc413433187d8ac7a699fcac1c0 branch August 11, 2026 17:24
slinder1 added a commit that referenced this pull request Aug 12, 2026
move all the old static stuff behind a single type, and have
one static instance that is populated in praddle.rs and just
used everywhere else

Change-Id: I73da2d654074bfc413433187d8ac7a699fcac1c0
Assisted-by: opencode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant