On Sep 30, 9:38 am, Gary Robinson <gary...@me.com> wrote: > The chart > athttp://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=ja...is > very interesting to me because it shows CPython using much less memory than > Java for most tests.
Which version of Python? If you're talking 3.x for Windows, any memory usage statistics are meaningless. > > I'd be interested in knowing whether anybody can share info about how > representative those test results are. For instance, suppose we're talking > about a huge dictionary that maps integers to lists of integers (something I > use in my code). Would something like that really take up much more memory in > Java (using the closest equivalent Java data structures) than in CPython? I > find it hard to believe that that would be the case, but I'm quite curious. > > (I could test the particular case I mention, but I'm wondering if someone has > some fundamental knowledge that would lead to a basic understanding.) > > -- > > Gary Robinson > CTO > Emergent Music, LLC > personal email: gary...@me.com > work email: grobin...@flyfi.com > Company:http://www.flyfi.com > Blog: http://www.garyrobinson.net -- http://mail.python.org/mailman/listinfo/python-list