U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » integer->String conversion optimised
integer->String conversion optimised [message #57395] Wed, 04 August 2021 11:30 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Inspired by

https://github.com/miloyip/itoa-benchmark/blob/940542a777015 5ee3e9f2777ebc178dc899b43e0/src/branchlut.cpp

I have implemented super-fast conversion routines:

https://github.com/ultimatepp/ultimatepp/blob/1d018151f105f4 e739045307577e3dd0bc8b856a/uppsrc/Core/Format.cpp#L75

AsString(int) should now be about 8 times faster than before.

Mirek
 
Read Message
Read Message icon14.gif
Read Message
Previous Topic: gtk rendering improvements, BufferPainter::PaintOnceHint
Next Topic: Format new double formatter(s)
Goto Forum:
  


Current Time: Sat May 23 19:12:40 GMT+2 2026

Total time taken to generate the page: 0.00490 seconds