| Age | Commit message (Collapse) | Author |
|
(https://github.com/ruby/erb/pull/88)
https://github.com/ruby/erb/commit/c231ced3f4
|
|
Fix https://github.com/ruby/erb/pull/87
https://github.com/ruby/erb/commit/75764f022b
|
|
escapable character
(https://github.com/ruby/erb/pull/87)
This change improves reduces allocations and makes `html_escape` ~35% faster in
a benchmark with escaped strings taken from the `test_html_escape` test in
`test/test_erb.rb`.
- Perform buffer allocation on first instance of escapable character.
- Instead of copying characters one at a time, copy unescaped segments using
`memcpy`.
https://github.com/ruby/erb/commit/aa482890fe
|
|
(https://github.com/ruby/erb/pull/63)
https://github.com/ruby/erb/commit/fdd45c0d89
|
|
https://github.com/ruby/erb/commit/9152ce8db4
|
|
(https://github.com/ruby/erb/pull/38)
Close #32
|
|
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.
https://github.com/ruby/erb/commit/e62210bf56
|
|
(https://github.com/ruby/erb/pull/35)
https://github.com/ruby/erb/commit/1280046952
|