Thu, 10 Sep 2009 04:18:58 -0400, #ponce thusly wrote: > See python internal objects size : > http://www.codexon.com/posts/memory-size-of-python-objects Everything > takes 4x the memory it would take in D. Each field access seems to be a > lookup into a hashmap. This is plain ugly.
Python is not the only language running on a VM, you know. Your comparison would be fairer if you happened to choose a statically typed language such as Java, which is a bit more performance oriented. If you have time, you can try to build a python compiler that compiles to native code *without* resorting to damn slow hashmaps.