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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Stream feature drop and optimization
Stream feature drop and optimization [message #15233] Fri, 11 April 2008 04:48
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I have dropped the idea of "formatted stream output".

Basically, what this was doing is "text indentation" (Begin/End operatins increase a number of tabs at beginning of each line) and '\n' -> '\r\n' conversions in Win32.

While nice, it was quite costly. I guess both features are uneeded most of time.

Begin/End was moved to Diag stream, so this is preserved for LOG and friends (the only place were it was really used).

'\r' handling was moved to console output.

Meanwhile, Stream::GetLine was optimized to be about 2x faster (I do not like loosing benchmarks Wink

Mirek
 
Read Message
Previous Topic: MinGW updated from 4.2.1 to 4.3.0
Next Topic: StableSort revisited...
Goto Forum:
  


Current Time: Fri Mar 29 09:47:56 CET 2024

Total time taken to generate the page: 0.01174 seconds