Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12690

Re: Algorithms Library - Asking for Pointers

From Chris Torek <nospam@torek.net>
Newsgroups comp.lang.python
Subject Re: Algorithms Library - Asking for Pointers
Date 2011-09-03 04:35 +0000
Organization None of the Above
Message-ID <j3sapp01jeh@news1.newsguy.com> (permalink)
References <beb607c3-1642-4663-a0f7-626d0814f0bd@dl2g2000vbb.googlegroups.com> <mailman.718.1314994196.27778.python-list@python.org> <8f893753-abbc-47df-9d90-77263e96be1b@p10g2000yqi.googlegroups.com> <18fe4afd-569b-4580-a629-50f6c74829e8@c29g2000yqd.googlegroups.com>

Show all headers | View raw


In article <18fe4afd-569b-4580-a629-50f6c74829e8@c29g2000yqd.googlegroups.com>
Travis Parks  <jehugaleahsa@gmail.com> wrote:
>[Someone] commented that the itertools algorithms will perform
>faster than the hand-written ones. Are these algorithms optimized
>internally?

They are written in C, so avoid a lot of CPython interpreter
overhead.  Mileage in Jython, etc., may vary...
-- 
In-Real-Life: Chris Torek, Wind River Systems
Intel require I note that my opinions are not those of WRS or Intel
Salt Lake City, UT, USA (40°39.22'N, 111°50.29'W)  +1 801 277 2603
email: gmail (figure it out)      http://web.torek.net/torek/index.html

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Algorithms Library - Asking for Pointers Travis Parks <jehugaleahsa@gmail.com> - 2011-09-02 09:59 -0700
  Re: Algorithms Library - Asking for Pointers Ian Kelly <ian.g.kelly@gmail.com> - 2011-09-02 14:09 -0600
    Re: Algorithms Library - Asking for Pointers Travis Parks <jehugaleahsa@gmail.com> - 2011-09-02 15:49 -0700
      Re: Algorithms Library - Asking for Pointers Travis Parks <jehugaleahsa@gmail.com> - 2011-09-02 18:39 -0700
        Re: Algorithms Library - Asking for Pointers Chris Rebert <clp2@rebertia.com> - 2011-09-02 19:23 -0700
        Re: Algorithms Library - Asking for Pointers Chris Torek <nospam@torek.net> - 2011-09-03 04:35 +0000
          Re: Algorithms Library - Asking for Pointers Travis Parks <jehugaleahsa@gmail.com> - 2011-09-03 20:35 -0700

csiph-web