How to efficiently store 100000 large integers in the shared memory of multi-process libraries

big_num = 6400
mask = (1 << 64) - 1
for i in range(100):
     arr[i] = big_num & mask
     big_num >>= 64

this is an example of saving a number.
it"s too slow to use a loop. 100000 numbers have to be saved

.

can the shared memory of multi-process libraries store large integer objects directly

Sep.23,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3dba0-2c3a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3dba0-2c3a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?