mirror of https://github.com/python/cpython
Improve struct cache locality by bring commonly accessed fields close together.
This commit is contained in:
parent
8e28679417
commit
7a4f43a8dd
|
@ -78,8 +78,8 @@
|
|||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
unsigned long state[N];
|
||||
int index;
|
||||
unsigned long state[N];
|
||||
} RandomObject;
|
||||
|
||||
static PyTypeObject Random_Type;
|
||||
|
|
Loading…
Reference in New Issue