Re: [Numpy-discussion] record array performance issue / bug

2015-11-22 Thread Charles R Harris
On Sat, Nov 21, 2015 at 8:54 PM, G Jones wrote: > Hi, > Using the latest numpy from anaconda (1.10.1) on Python 2.7, I found that > the following code works OK if npackets = 2, but acts bizarrely if npackets > is large (2**12): > > --- > > npackets = 2**12 > dlen=2048 > PacketType = np.dt

[Numpy-discussion] record array performance issue / bug

2015-11-21 Thread G Jones
Hi, Using the latest numpy from anaconda (1.10.1) on Python 2.7, I found that the following code works OK if npackets = 2, but acts bizarrely if npackets is large (2**12): --- npackets = 2**12 dlen=2048 PacketType = np.dtype([('timestamp','float64'), ('pkts',np.