Nick Ing-Simmons wrote: > >Anyway, it could be usable for this purpose, but when not under ithreads > >is does a newSVpvn. > > Well printf-oids need to allocate space somehow - or use big fixed > sized buffer. Like the 1ko buffer it's using currently : #ifdef USE_ITHREADS /* Use fixed buffer as sv_catpvf etc. needs SVs */ char buffer[1024]; I'm not very comfortable with the idea of using fixed size buffers, though. > >Then we could replace all "DEBUG_XXX(PerlIO_printf(Perl_debug_log,...))" > >by "DEBUG_XXX(PerlIO_debug(...))" > >Thread Previous