Hi Jean-Baptiste, Am 20.07.2010 08:20, schrieb Jean-Baptiste BRIAUD -- Novlog: > What is the cost of a try/catch in javascript ? > > I was thinking about adding that kind try/catch "everywhere" when I > though it could drain performances ... any advice ? It only does cost performance if the "catch" block is evaluated. If everything is running smooth there are no (measurable) performance issues.
cheers, Alex ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
