Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jstimpfle
· 8y ago · 0 comments
Look at the approach from my other comment. Requires only 1 symbol.
Comments
[–]
hogliux
8y ago
Both your approach and the `semi::static_map` will generate the same type of load instruction. In both cases, the compiler knows the offset of the values in memory at compile-time. The number of symbols is not really important here.