Antoine Pitrou added the comment:

> any form of integer SIMD operation (vectors)

Wouldn't these be appropriately represented by a tuple of integers (or floats)? 
For example, a SIMD vector of four 32-bit integers could be represented as four 
Python ints. Or would that be "terrible for performance"?

Note that the struct module may include support for int128_t, but it certainly 
won't have native support for every SIMD vector format under the sun (if they 
have different alignment requirements).

> hosting and maintaining hash values which are routinely 128-bit and greater

That sounds like a job for a bytes object (as returned by e.g. 
hashlib.sha1(...).digest()).

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19904>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to