[Numpy-discussion] Re: Efficiently represent 128-bit integers

2023-02-03 Thread Aaron Meurer
You could use a composite data type of two int64s https://numpy.org/doc/stable/user/basics.rec.html. It would not work with arithmetic, but you said you don't care about that. You'd just need one helper function to convert the data to a UUID string. Aaron Meurer On Fri, Feb 3, 2023 at 6:21 AM Tim

[Numpy-discussion] GSoC Participation

2023-02-03 Thread Rohit Goswami
Last year we took with SciPy under the PSF with Ralf taking care of admin duties. We had a great contributor (Namami [1]) and I think solid progress was made for F2PY. SciPy is currently considering applying again this year [1], with Hameer stepping up to take the administrative burden if there

[Numpy-discussion] Efficiently represent 128-bit integers

2023-02-03 Thread Tim Candid
Hello, I wonder what are the alternatives to efficiently represent 128-bit integers? I have found a GitHub issue that proposed a support for int128 data type - https://github.com/numpy/numpy/issues/9992 - but it is closed now, and I was wondering what are the options meanwhile. The context of my