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


Groups > comp.lang.python > #101316

Re: Fast pythonic way to process a huge integer list

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: Fast pythonic way to process a huge integer list
Date 2016-01-06 22:10 -0500
Message-ID <mailman.35.1452136231.2305.python-list@python.org> (permalink)
References <7e2b93e4-c224-40c4-8e88-7dcc847edab1@googlegroups.com>

Show all headers | View raw


On 1/6/2016 9:36 PM, high5storage@gmail.com wrote:
>
> I have a list of 163.840 integers. What is a fast & pythonic way to process this list in 1,280 chunks of 128 integers?

What have you tried that did not work?  This is really pretty simple, 
but the detail depend on the meaning of 'process a chunk'.

-- 
Terry Jan Reedy

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


Thread

Fast pythonic way to process a huge integer list high5storage@gmail.com - 2016-01-06 18:36 -0800
  Re: Fast pythonic way to process a huge integer list Terry Reedy <tjreedy@udel.edu> - 2016-01-06 22:10 -0500
  Re: Fast pythonic way to process a huge integer list Tim Chase <python.list@tim.thechases.com> - 2016-01-06 21:21 -0600
  Re: Fast pythonic way to process a huge integer list Cameron Simpson <cs@zip.com.au> - 2016-01-07 14:31 +1100
  Re: Fast pythonic way to process a huge integer list Steven D'Aprano <steve@pearwood.info> - 2016-01-07 20:25 +1100
  Re: Fast pythonic way to process a huge integer list Peter Otten <__peter__@web.de> - 2016-01-07 11:21 +0100
  Re: Fast pythonic way to process a huge integer list KP <kai.peters@gmail.com> - 2016-01-07 16:33 -0800

csiph-web