forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6687430
committed
Refactor code for setting pg_popcount* function pointers.
Presently, there are three copies of this code, and a proposedfollow-up patch would add more code to each copy. This commitintroduces a new inline function for this code and makes use of itin the pg_popcount*_choose functions, thereby reducing codeduplication.Author: Paul AmonsonDiscussion:https://postgr.es/m/BL1PR11MB5304097DF7EA81D04C33F3D1DCA6A%40BL1PR11MB5304.namprd11.prod.outlook.com1 parent38698dd commit6687430
1 file changed
+9
-28
lines changedLines changed: 9 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 |
| - | |
152 |
| - | |
| 151 | + | |
| 152 | + | |
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
| 166 | + | |
166 | 167 |
| |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
167 | 172 |
| |
168 | 173 |
| |
169 | 174 |
| |
170 | 175 |
| |
171 | 176 |
| |
172 | 177 |
| |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
177 |
| - | |
178 |
| - | |
179 |
| - | |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
| 178 | + | |
186 | 179 |
| |
187 | 180 |
| |
188 | 181 |
| |
189 | 182 |
| |
190 | 183 |
| |
191 | 184 |
| |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
| 185 | + | |
205 | 186 |
| |
206 | 187 |
| |
207 | 188 |
| |
|
0 commit comments
Comments
(0)