Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fredyr
· 11y ago · 0 comments
I changed from the ternary representation to the function, because I didn't think the generated code was very readable. In hindsight I'm not sure it's that much improvement. From a performance view it's probably worse off.
Comments
[–]
zeckalpha
11y ago
Rule 1: Do not make assumptions about JavaScript performance.