Message120455
| Author |
pitrou |
| Recipients |
ebfe, gregory.p.smith, pitrou |
| Date |
2010年11月04日.21:55:26 |
| SpamBayes Score |
0.00020346932 |
| Marked as misclassified |
No |
| Message-id |
<1288907723.3539.86.camel@localhost.localdomain> |
| In-reply-to |
<1288906824.67.0.475740527709.issue10302@psf.upfronthosting.co.za> |
| Content |
> Thanks for your comment; it is a very valid point to consider.
> However, as a vector-based implementation is roughly three to four
> times faster than what the current API can provide by design (reduced
> overhead and GIL-relaxation not included), I may disagree with it.
I fear that this kind of optimization is a moving target. If some CPU
architecture gains hardware support for cryptographic hashes, OpenSSL
will support it and be much faster than Python's parallel version.
> I'm willing to make a proposal (read: patch) if you and the other
> overlords have enough confidence in this API-change and it has a
> chance to get submitted.
If the only advantage is some speedup on parallel hashing of
many-small-strings, I don't think a new API is warranted for such a
specialized use case. |
|