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


Groups > comp.lang.python > #78164

Comparison

Newsgroups comp.lang.python
Date 2014-09-22 09:57 -0700
Message-ID <521ef86a-df52-4a49-8562-6312273a8c07@googlegroups.com> (permalink)
Subject Comparison
From LJ <luisjosenovoa@gmail.com>

Show all headers | View raw


Hi All,

Quick question here. In the code I am working on I am apparently doing a lot of dictionary lookups and those are taking a lot of time. 
I looked at the possibility of changing the structure and I found about the numpy structured arrays.
The concrete question is: what would be the difference between using one or the other in terms of performance? meaning looping and performing checks an operations on them?

Thanks,

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


Thread

Comparison LJ <luisjosenovoa@gmail.com> - 2014-09-22 09:57 -0700
  Re: Comparison Chris Angelico <rosuav@gmail.com> - 2014-09-23 03:11 +1000
    Re: Comparison LJ <luisjosenovoa@gmail.com> - 2014-09-22 10:38 -0700
      Re: Comparison Chris Angelico <rosuav@gmail.com> - 2014-09-23 03:45 +1000
      Re: Comparison Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-23 21:13 +1000

csiph-web