Commit 99d31ec
authored
chore: replace lazy_static with std::sync::LazyLock (lance-format#4109)
This PR will replace lazy_static with std::sync::LazyLock.
lazy_static is known to compile more slowly and relies on macros, which
makes maintenance more difficult. Now that there is a new standard API
that can fully replace it, this change is appropriate.
---------
Signed-off-by: Xuanwo <github@xuanwo.io>1 parent 27aa079 commit 99d31ec
41 files changed
Lines changed: 1063 additions & 898 deletions
File tree
- java/core/lance-jni
- src
- python
- src
- dataset
- rust
- lance-core
- src
- utils
- lance-datafusion
- src
- lance-encoding
- src
- encodings/physical
- v2/encodings/logical
- lance-index
- src
- scalar
- inverted
- vector
- flat
- lance-io
- src
- lance-linalg
- lance-table
- src/io/commit
- lance
- src
- dataset
- index/vector/ivf
- io/exec
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments