Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
lokedhs
4y ago
0 comments
Save
Share
Thanks. I'd guess something similar happens here. However, I doubt it's they same case as you, since there are no floating point operations involved here.
How's were you able to figure it out? Where should I start looking?
0 comments
1 comments · 1 top-level
top
newest
oldest
jffhn
4y ago
I didn't use any tool, I just knew these casts could be slow and changed one to avoid a suspected factorization, which just worked, but there are ways to show the code generated by the JIT, cf.
https://stackoverflow.com/questions/1503479/how-to-see-jit-c...
or
https://stackoverflow.com/questions/30928786/how-do-i-check-...
j
/
k
navigate · click thread line to collapse