optify-config 1.1.0-aarch64-linux → 1.1.1-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/optify_ruby/implementation.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e07d165f6c657961271be1fbf32dce5170bf09a218e62e74619611bb751836f
|
4
|
+
data.tar.gz: 31a863affcd275f56c129776842757439fd8448d97fbf3c7d5ab5e4d21b09e95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5cd8d8867088d60d78ec6b9ccd34cef8e9b6b8531af9684b57a0986c1bbb48d2baeff010df06cc504f61954647890aaef7674775100a39abe04ff20097126ee
|
7
|
+
data.tar.gz: 8c50ca862ef0ab2af00c4244892673bc52c58a80daec62e50350e35abcbb58dab117ad1228069a0b504b2fbd0c72fd7a6a1b8d0b6e344c1f5afd2feba6392b5a
|
@@ -88,7 +88,11 @@ module Optify
|
|
88
88
|
# * Avoid any possible conversion overhead.
|
89
89
|
# * Memory management: probably better to do it in Ruby for a Ruby app and avoid memory in Rust.
|
90
90
|
init unless @cache
|
91
|
-
|
91
|
+
unless preferences&.skip_feature_name_conversion
|
92
|
+
# When there are just a few names, then it can be faster to convert them one by one in a loop to avoid working with an array in Rust.
|
93
|
+
# When there are over 7 names, then it is faster to convert them with one call to Rust.
|
94
|
+
feature_names = get_canonical_feature_names(feature_names)
|
95
|
+
end
|
92
96
|
|
93
97
|
cache_key = [key, feature_names, config_class]
|
94
98
|
result = @cache&.fetch(cache_key, NOT_FOUND_IN_CACHE_SENTINEL)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optify-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- Justin D. Harris
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|