Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bayindirh
on Oct 29, 2018
|
parent
|
context
|
favorite
| on:
A fun optimization trick from rsync
IIRC, switch statements bigger than a certain sizes are compiled to jump tables. So it's just a static jump after the code finds a working method.
In theory, it's a very cheap piece of assembly after that point.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In theory, it's a very cheap piece of assembly after that point.