Re: [Python-Dev] More compact dictionaries with faster iteration

2014-12-31 Thread Serhiy Storchaka

On 10.12.12 03:44, Raymond Hettinger wrote:

The current memory layout for dictionaries is
unnecessarily inefficient.  It has a sparse table of
24-byte entries containing the hash value, key pointer,
and value pointer.

Instead, the 24-byte entries should be stored in a
dense table referenced by a sparse table of indices.


FYI PHP 7 will use this technique [1]. In conjunction with other 
optimizations this will decrease memory consumption of PHP hashtables up 
to 4 times.


[1] http://nikic.github.io/2014/12/22/PHPs-new-hashtable-implementation.html
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Google search labels Python 2.7 docs as Python 3.4

2014-12-31 Thread Ryan Gonzalez
Not sure if this is something to post here...but...

[image: Inline image 1]

-- 
Ryan
If anybody ever asks me why I prefer C++ to C, my answer will be simple:
It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was
nul-terminated.
Personal reality distortion fields are immune to contradictory evidence. -
srean
Check out my website: http://kirbyfan64.github.io/
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Google search labels Python 2.7 docs as Python 3.4

2014-12-31 Thread Benjamin Peterson


On Wed, Dec 31, 2014, at 19:32, Ryan Gonzalez wrote:
 Not sure if this is something to post here...but...
 
 [image: Inline image 1]

That must be some sort of inconsistency in Google's index, since the
actual page's title is correct.
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Google search labels Python 2.7 docs as Python 3.4

2014-12-31 Thread Chris Angelico
On Thu, Jan 1, 2015 at 12:24 PM, Benjamin Peterson benja...@python.org wrote:
 On Wed, Dec 31, 2014, at 19:32, Ryan Gonzalez wrote:
 Not sure if this is something to post here...but...

 [image: Inline image 1]

 That must be some sort of inconsistency in Google's index, since the
 actual page's title is correct.

This issue has persisted for a while. I first noticed it in early
December (though it may have been there longer), and ignored it on the
assumption that it was a transitional state. I don't know how long a
transitional state can last, though.

ChrisA
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Google search labels Python 2.7 docs as Python 3.4

2014-12-31 Thread Vincent Davis
About a year ago I posted about this or related issue, Here is the link
https://mail.python.org/pipermail/python-dev/2014-January/132093.html.
This was the old website (I think, but that may not appliy to the docs) but
I think the issue is still probably related to the robot.txt file.

Vincent Davis
720-301-3003

On Wed, Dec 31, 2014 at 8:03 PM, Chris Angelico ros...@gmail.com wrote:

 On Thu, Jan 1, 2015 at 12:24 PM, Benjamin Peterson benja...@python.org
 wrote:
  On Wed, Dec 31, 2014, at 19:32, Ryan Gonzalez wrote:
  Not sure if this is something to post here...but...
 
  [image: Inline image 1]
 
  That must be some sort of inconsistency in Google's index, since the
  actual page's title is correct.

 This issue has persisted for a while. I first noticed it in early
 December (though it may have been there longer), and ignored it on the
 assumption that it was a transitional state. I don't know how long a
 transitional state can last, though.

 ChrisA
 ___
 Python-Dev mailing list
 Python-Dev@python.org
 https://mail.python.org/mailman/listinfo/python-dev
 Unsubscribe:
 https://mail.python.org/mailman/options/python-dev/vincent%40vincentdavis.net

___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com