Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13975
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 Apr 27 16:16:07 CEST 2024

Total time taken to generate the page: 0.05929 seconds