leonardo ([info]leonardo_m) wrote,
Re: Slightly flawed
Tuples have anonymous fields, this may lead to troubles (so Hettinger has created the named tuples).
Probably your suggestions can improve the timings of the Python code.
The purpose of this comparison isn't to show who is the faster one, or to show that D AAs are faster than Python ones (usually they are aren't).
The purpose is to show a difference in the algorithm used to resolve collisions; in D it's tree-based, in Python it is not, so in this test I was interested in how timings grow and not in actual baseline performance.


Advertisement


(Read 3 comments)

Post a comment in response:

From:
Help
Identity URL: 
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
   Help
Message:

 
Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…