Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pwang
on Oct 25, 2011
|
parent
|
context
|
favorite
| on:
A Python Optimization Anecdote
Unfortunately, the ord() function call overhead in Python may swamp the difference in speed between a dict lookup (hashtable) and a list lookup (ordinal index).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: