[Mingw-w64-public] Fast sprintf and 15 times slower std::sprintf

2013-06-21 Thread Albus X
Hello. I experienced a strange efficiency problem in my code and after some debuging I find that std::sprintf is very slow. Indeed it's even different from the sprintf function in . When doing the following test: #include // #include // using std::sprintf; int main () { i

Re: [Mingw-w64-public] [PATCH] x64 msvcrt doesn't provide _{get, set}_output_format

2013-06-21 Thread Rafaël Carré
Le 21/06/2013 17:16, Kai Tietz a écrit : > 2013/6/21 Rafaël Carré : >> --- >> mingw-w64-crt/lib64/msvcrt.def.in | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/mingw-w64-crt/lib64/msvcrt.def.in >> b/mingw-w64-crt/lib64/msvcrt.def.in >> index b678a89..14f6083 100644

Re: [Mingw-w64-public] [PATCH] x64 msvcrt doesn't provide _{get, set}_output_format

2013-06-21 Thread Kai Tietz
2013/6/21 Rafaël Carré : > --- > mingw-w64-crt/lib64/msvcrt.def.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mingw-w64-crt/lib64/msvcrt.def.in > b/mingw-w64-crt/lib64/msvcrt.def.in > index b678a89..14f6083 100644 > --- a/mingw-w64-crt/lib64/msvcrt.def.in > +++ b

[Mingw-w64-public] [PATCH] x64 msvcrt doesn't provide _{get, set}_output_format

2013-06-21 Thread Rafaël Carré
--- mingw-w64-crt/lib64/msvcrt.def.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-crt/lib64/msvcrt.def.in b/mingw-w64-crt/lib64/msvcrt.def.in index b678a89..14f6083 100644 --- a/mingw-w64-crt/lib64/msvcrt.def.in +++ b/mingw-w64-crt/lib64/msvcrt.def.in @@ -338