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++ Libraries and TheIDE: i18n, Unicode and Internationalization » Improvements to several Lang.cpp functions
Re: Improvements to several Lang.cpp functions [message #20386 is a reply to message #20053] Mon, 16 March 2009 10:25 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Novo wrote on Fri, 13 February 2009 19:47

luzr wrote on Fri, 13 February 2009 05:07

Novo wrote on Tue, 03 February 2009 17:21

It is possible to use _alloca() instead of fixed size stack buffer on Windows.


I believe it is not worth of trouble. These functions do not tend to be called in recursion and buffer sizes are adequate.

Mirek


Smile It is just cleaner code and more efficient memory usage. You do not need such big buffer in most cases.



I do not believe that alloca is better code... It is longer code and it is (in general, it is perhaps not a problem here) platform/compiler specific (AFAIK).

Mirek
 
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Basic character set analyzer
Next Topic: Russian tr file for SVN 963
Goto Forum:
  


Current Time: Thu May 16 18:29:46 CEST 2024

Total time taken to generate the page: 0.01771 seconds