[Python-Dev] [numpy wishlist] Interpreter support for temporary elision in third-party classes (original) (raw)

Nathaniel Smith njs at pobox.com
Fri Jun 6 18:55:04 CEST 2014


On 6 Jun 2014 17:07, "Sturla Molden" <sturla.molden at gmail.com> wrote:

We would in total need two mutexes, one condition variable, a pthread, and a heap.

The proposal in my initial email requires zero pthreads, and is substantially more effective. (Your proposal reduces only the alloc overhead for large arrays; mine reduces both alloc and memory access overhead for boyh large and small arrays.)

-n -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140606/bfa95a9c/attachment.html>



More information about the Python-Dev mailing list