[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-dev
Subject:    Re: [Python-Dev] CPython optimization: storing reference counters
From:       Sturla Molden <sturla () molden ! no>
Date:       2011-05-24 18:31:27
Message-ID: 4DDBF97F.8010005 () molden ! no
[Download RAW message or body]

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


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic