This ensures we only call String#downcase if we can't find an all lowercased *and* all uppercased version of the element name. This in turn can save as many object allocations as there are HTML opening tags. This fixes #52. |
||
|---|---|---|
| .. | ||
| oga | ||
| oga.rb | ||
This ensures we only call String#downcase if we can't find an all lowercased *and* all uppercased version of the element name. This in turn can save as many object allocations as there are HTML opening tags. This fixes #52. |
||
|---|---|---|
| .. | ||
| oga | ||
| oga.rb | ||