lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 12/10/2009 15:17, Fernando P. García wrote:
In most languages (not only scripting) the use of single quotes is faster than double quotes

Out of curiosity, what are these 'most' languages?

In 'most' languages I know, they are either a very different thing (char vs. string in a number of C-like languages: C/C++/probably C#/Java...) or the same (Lua, JavaFX, JavaScript...).

From what I know, they have indeed a different behavior in Perl-like languages (Perl, of course, PHP, Ruby...) with regard to variable interpolation and backslash interpretation. Are there many other similar languages with this behavior?

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --