mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Improve struct cache locality by bring commonly accessed fields close together.
This commit is contained in:
parent
8e28679417
commit
7a4f43a8dd
1 changed files with 1 additions and 1 deletions
|
@ -78,8 +78,8 @@
|
|||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
unsigned long state[N];
|
||||
int index;
|
||||
unsigned long state[N];
|
||||
} RandomObject;
|
||||
|
||||
static PyTypeObject Random_Type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue