Re: [OFF] Convert int to ustring
- From: Jupercio Juliano <jupercio yahoo com br>
- To: Nickolai Dobrynin <dobrynin cs uwm edu>
- Cc: gtkmm-list gnome org
- Subject: Re: [OFF] Convert int to ustring
- Date: Sun, 30 Oct 2005 12:15:52 -0200
Nickolai Dobrynin wrote:
Are you sure this solution is adequate speedwise? Unless there has been an
improvement recently, the stringstream support seems fairly slow, on gcc
at least.
Would it make more sense to use sprintf instead?
Ya.
I used sprintf:
sprintf(cPort, "%x", iDDR[i1]);
sPort += " 0x";
sPort += Glib::ustring(cPort);
sPort += "\n";
Where cPort is char with 2 elements and iDDR is an int matrix.
thanks.
--
jupercio juliano
Software Livre:
Socialmente justo.
Economicamente viável.
Tecnologicamente sustentável.
_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você
acumula cupons e concorre a mais de 500 prêmios! Participe!
http://yahoo.fbiz.com.br/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]