Hello Mrs. Inessa,
Thanks for guiding me on contributing to the technical
documentation of Numpy.I will go through the Github repo and look upon issues
and try to solve them.
Thanks again.
Yours friendly,
K.Rajasekaran
__
On Wed, 2022-01-19 at 20:49 +0100, Jerome Kieffer wrote:
> On Wed, 19 Jan 2022 19:48:32 +0100
> Francesc Alted wrote:
>
> > What puzzles me is that the timeit loops access `z` data 3*1
> > times, which is plenty of time for doing the allocation (just
> > should
> > require just a single itera
On Wed, 2022-01-19 at 19:48 +0100, Francesc Alted wrote:
> On Wed, Jan 19, 2022 at 6:58 PM Stanley Seibert
>
> wrote:
>
> > Given that this seems to be Linux only, is this related to how
> > glibc does
> > large allocations (>128kB) using mmap()?
> >
> > https://stackoverflow.com/a/33131385
> >
On Wed, 19 Jan 2022 19:48:32 +0100
Francesc Alted wrote:
> What puzzles me is that the timeit loops access `z` data 3*1
> times, which is plenty of time for doing the allocation (just should
> require just a single iteration).
Hi all,
Very interesting discussion ... IIRC, timeit does some c
On Wed, Jan 19, 2022 at 6:58 PM Stanley Seibert
wrote:
> Given that this seems to be Linux only, is this related to how glibc does
> large allocations (>128kB) using mmap()?
>
> https://stackoverflow.com/a/33131385
>
That's a good point. As MMAP_THRESHOLD is 128 KB, and the size of `z` is
almost
On Wed, 2022-01-19 at 11:49 +0100, Francesc Alted wrote:
> On Wed, Jan 19, 2022 at 7:33 AM Stefan van der Walt
>
> wrote:
>
> > On Tue, Jan 18, 2022, at 21:55, Warren Weckesser wrote:
> > > expr = 'z.real**2 + z.imag**2'
> > >
> > > z = generate_sample(n, rng)
> >
> > 🤔 If I duplicate the `z =
On Wed, Jan 19, 2022 at 11:50 AM Francesc Alted wrote:
>
>
> On Wed, Jan 19, 2022 at 7:33 AM Stefan van der Walt
> wrote:
>
>> On Tue, Jan 18, 2022, at 21:55, Warren Weckesser wrote:
>> > expr = 'z.real**2 + z.imag**2'
>> >
>> > z = generate_sample(n, rng)
>>
>> 🤔 If I duplicate the `z = ...` li
On Wed, Jan 19, 2022 at 7:33 AM Stefan van der Walt
wrote:
> On Tue, Jan 18, 2022, at 21:55, Warren Weckesser wrote:
> > expr = 'z.real**2 + z.imag**2'
> >
> > z = generate_sample(n, rng)
>
> 🤔 If I duplicate the `z = ...` line, I get the fast result throughout.
> If, however, I use `generate_sam
Hello Sebastian,
Thanks for the precision
Best regards
On Tue, 2022-01-18 at 11:52 -0600, Sebastian Berg wrote:
> On Tue, 2022-01-18 at 18:29 +0100, Benoit Gschwind wrote:
> > Hello Sebastian,
> >
> > Thanks for detail.
> >
> > The last call has the NPY_ARRAY_C_CONTIGUOUS and NPY_ARRAY_ALIGNE