[Python-Dev] CPython optimization: storing reference counters outside of objects (original) (raw)
Sturla Molden sturla at molden.no
Tue May 24 20:31:27 CEST 2011
- Previous message: [Python-Dev] CPython optimization: storing reference counters outside of objects
- Next message: [Python-Dev] CPython optimization: storing reference counters outside of objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Den 24.05.2011 17:39, skrev Artur Siekielski:
Disk access is about 1000x slower than memory access in C, and Python in a worst case is 50x slower than C, so there is still a huge win (not to mention that in a common case Python is only a few times slower).
You can put databases in shared memory (e.g. Sqlite and BSDDB have options for this). On linux you can also mount /dev/shm as ramdisk. Also, why do you distrust the database developers of Oracle et al. not to do the suffient optimizations?
Sturla
- Previous message: [Python-Dev] CPython optimization: storing reference counters outside of objects
- Next message: [Python-Dev] CPython optimization: storing reference counters outside of objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]