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 » U++ Library support » U++ Core » DarkThemeCached
Re: DarkThemeCached [message #57121 is a reply to message #57078] Thu, 27 May 2021 09:21 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13979
Registered: November 2005
Ultimate Member
Didier wrote on Fri, 21 May 2021 09:21
Hello Oblivion,

Thanks for the explanations.

If you are using many colors, I don't think using this is a good idea : the cache will be overlapping all the time


That is why this is separate function from DarkTheme(Color)... You are supposed to use it only where there is a chance of speedup. Actually, the only proper use in the whole uppsrc is in the RichText, where it is used to convert the text color. Usually you do not have that many text colors...

All that said, it is entirely possible that this could be improved somehow. But I just wanted tiny simple cache for RichText...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deprecating THISBACK
Next Topic: Small optimization
Goto Forum:
  


Current Time: Mon May 13 00:47:07 CEST 2024

Total time taken to generate the page: 0.03701 seconds