I have heard that the usage of show and read is a bottleneck in the program. Is there a function like this which doesn't involve string transformation:
thow :: Num a => a -> Text
thow = undefined
One obvious implementation is like this pack . show
but unfortunately that involves string conversion. Is there any optimal way for achieving this ?