Skip to content

Commit

Permalink
hybrid-array: expand sizes (#1032)
Browse files Browse the repository at this point in the history
The number of sizes we define is a compile time vs utility tradeoff.

We're hitting real world need for some of these additional sizes in the
`RustCrypto/hashes` repo. This expands the available sizes to cover
these use cases, and potential additional ones.
  • Loading branch information
tarcieri authored Dec 31, 2023
1 parent 37c1560 commit 55a93f1
Showing 1 changed file with 194 additions and 0 deletions.
194 changes: 194 additions & 0 deletions hybrid-array/src/sizes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,204 @@ impl_array_size! {
62 => U62,
63 => U63,
64 => U64,
65 => U65,
66 => U66,
67 => U67,
68 => U68,
69 => U69,
70 => U70,
71 => U71,
72 => U72,
73 => U73,
74 => U74,
75 => U75,
76 => U76,
77 => U77,
78 => U78,
79 => U79,
80 => U80,
81 => U81,
82 => U82,
83 => U83,
84 => U84,
85 => U85,
86 => U86,
87 => U87,
88 => U88,
89 => U89,
90 => U90,
91 => U91,
92 => U92,
93 => U93,
94 => U94,
95 => U95,
96 => U96,
97 => U97,
98 => U98,
99 => U99,
100 => U100,
101 => U101,
102 => U102,
103 => U103,
104 => U104,
105 => U105,
106 => U106,
107 => U107,
108 => U108,
109 => U109,
110 => U110,
111 => U111,
112 => U112,
113 => U113,
114 => U114,
115 => U115,
116 => U116,
117 => U117,
118 => U118,
119 => U119,
120 => U120,
121 => U121,
122 => U122,
123 => U123,
124 => U124,
125 => U125,
126 => U126,
127 => U127,
128 => U128,
129 => U129,
130 => U130,
131 => U131,
132 => U132,
133 => U133,
134 => U134,
135 => U135,
136 => U136,
137 => U137,
138 => U138,
139 => U139,
140 => U140,
141 => U141,
142 => U142,
143 => U143,
144 => U144,
145 => U145,
146 => U146,
147 => U147,
148 => U148,
149 => U149,
150 => U150,
151 => U151,
152 => U152,
153 => U153,
154 => U154,
155 => U155,
156 => U156,
157 => U157,
158 => U158,
159 => U159,
160 => U160,
161 => U161,
162 => U162,
163 => U163,
164 => U164,
165 => U165,
166 => U166,
167 => U167,
168 => U168,
169 => U169,
170 => U170,
171 => U171,
172 => U172,
173 => U173,
174 => U174,
175 => U175,
176 => U176,
177 => U177,
178 => U178,
179 => U179,
180 => U180,
181 => U181,
182 => U182,
183 => U183,
184 => U184,
185 => U185,
186 => U186,
187 => U187,
188 => U188,
189 => U189,
190 => U190,
191 => U191,
192 => U192,
193 => U193,
194 => U194,
195 => U195,
196 => U196,
197 => U197,
198 => U198,
199 => U199,
200 => U200,
201 => U201,
202 => U202,
203 => U203,
204 => U204,
205 => U205,
206 => U206,
207 => U207,
208 => U208,
209 => U209,
210 => U210,
211 => U211,
212 => U212,
213 => U213,
214 => U214,
215 => U215,
216 => U216,
217 => U217,
218 => U218,
219 => U219,
220 => U220,
221 => U221,
222 => U222,
223 => U223,
224 => U224,
225 => U225,
226 => U226,
227 => U227,
228 => U228,
229 => U229,
230 => U230,
231 => U231,
232 => U232,
233 => U233,
234 => U234,
235 => U235,
236 => U236,
237 => U237,
238 => U238,
239 => U239,
240 => U240,
241 => U241,
242 => U242,
243 => U243,
244 => U244,
245 => U245,
246 => U246,
247 => U247,
248 => U248,
249 => U249,
250 => U250,
251 => U251,
252 => U252,
253 => U253,
254 => U254,
255 => U255,
256 => U256,
272 => U272,
288 => U288,
304 => U304,
320 => U320,
336 => U336,
352 => U352,
384 => U384,
448 => U448,
512 => U512,
Expand Down

0 comments on commit 55a93f1

Please sign in to comment.