forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit216af5e
committed
Make bitmapset.c use 64-bit bitmap words on 64-bit machines.
Using the full width of the CPU's native word size shouldn't costanything in typical cases. When working with large bitmapsets,this halves the number of operations needed for many common BMSoperations. On the right sort of test case, a measurable improvementis obtained.David RowleyDiscussion:https://postgr.es/m/CAKJS1f9EGBd2h-VkXvb=51tf+X46zMX5T8h-KYgXEV_u2zmLUw@mail.gmail.com1 parent0c23771 commit216af5e
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 |
| |
32 |
| - | |
33 | 43 |
| |
34 | 44 |
| |
35 | 45 |
| |
36 | 46 |
| |
| 47 | + | |
| 48 | + | |
37 | 49 |
| |
38 | 50 |
| |
39 | 51 |
| |
|
0 commit comments
Comments
(0)