aboutsummaryrefslogtreecommitdiff
path: root/core/math/big/internal.odin
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-11-27 10:24:22 +0000
committergingerBill <gingerBill@users.noreply.github.com>2025-11-27 10:24:22 +0000
commit78d8059ebebda8b9bcd4959d804e1bab7d0254e7 (patch)
tree2a156f9d871104936e2c39eec8d3692a8da81ab7 /core/math/big/internal.odin
parentbf43dbaf5a65bbf6fcaf0d2389da703cbc364614 (diff)
Use `@(rodata)` where possible
Diffstat (limited to 'core/math/big/internal.odin')
-rw-r--r--core/math/big/internal.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/math/big/internal.odin b/core/math/big/internal.odin
index 4bb45397d..333fee3ad 100644
--- a/core/math/big/internal.odin
+++ b/core/math/big/internal.odin
@@ -2791,7 +2791,8 @@ internal_int_count_lsb :: proc(a: ^Int) -> (count: int, err: Error) {
x *= _DIGIT_BITS
x += internal_count_lsb(q)
} else {
- lnz := []int{
+ @(static, rodata)
+ lnz := [?]int{
4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0,
}