Subj : Re: Slow string conversion of long js functions To : netscape.public.mozilla.jseng From : =?ISO-8859-1?Q?Georg_Maa=DF?= Date : Sun Jan 11 2004 12:33 am Brendan Eich wrote: > Georg Maaß wrote: > >> With the SM shell (1.5rc5) the shell crashes before the source of the >> function is entered completely. I assume a buffer overflow. > > > Shouldn't be a buffer overflow anywhere in the engine -- can you debug? Never tried to debug the shell, because it never crashed before, but this crash is reproducable. What shall I do to debug? > Perhaps in the libreadline gunk used by the shell. It is an ancient Linux, so this may be a reason. > If you put the test function in a file and feed it to the shell, then what? js> load('/home/bioshop/test.js'); 4617 462 js> No crash. Why is it slowlier than the browser? -- Georg Maaß - bioshop.de D-76227 Karlsruhe, Westmarkstraße 82 HTML, XML / JavaScript, C++, Java, PHP, VB / CGI, JSP, ASP, ASP.net - The ultimate DHTML engine: http://gml-modul.sourceforge.net - http://sourceforge.net/projects/gml-modul .