
Jan. 19, 2022
6:32 a.m.
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_sample(1, rng)` (or any other value than `n`), it does not improve matters. Could this be a memory caching issue? Stéfan