[ruby-it] Quattro interpreti ruby a confronto

David Welton davidnwelton a gmail.com
Dom 9 Ago 2009 21:33:40 CEST


> gsub! č pių performante di gsub

gsub ha anche il brutto vizio di trasformare *tutto* in espressione
regolare, anche quando viene passata una semplice stringa.

La mia esperienza in Tcl indica che i glob ( [string match] ) sono
molto piu` performanti dei regexp, in quanto piu` semplici.  Peccato
che non sia possibile optare per qualche algoritmo piu` semplice...

-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/
Sent from Padua, Veneto, Italy


More information about the Ml mailing list