oga/lib
Yorick Peterse 54e6650338 Don't use define_method in the lexer.
Profiling showed that calls to methods defined using `define_method` are
really, really slow. Before this commit the lexer would process 3000-4000
lines per second. With this commit that has been increased to around 10 000
lines per second.

Thanks to @headius for mentioning the (potential) overhead of define_method.
2014-04-17 19:08:26 +02:00
..
oga Don't use define_method in the lexer. 2014-04-17 19:08:26 +02:00
oga.rb Use a Set for storing void element names. 2014-04-10 12:28:47 +02:00