[BUG] Literal _rq
performs conversion of string literal in runtime instead of compile time
#288
Labels
_rq
performs conversion of string literal in runtime instead of compile time
#288
I expect the performance of the quad prec literal
NUM_rq
to have the same performance of doingreal128(NUM.q)
, however it is much slower. Runningperf
on some sample code shows that the conversion from string to __float128 is not happening at compile time as seems to be the case with.q
, but occurs at runtime:When I use
real128(NUM.q)
, there is no function call tostrtofloat
:Changing from
_rq
to.q
made my code about 1.5 times faster.The text was updated successfully, but these errors were encountered: