]> git.cworth.org Git - sup/commit
reduce quote parsing worst-case behavior
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 8 Jun 2009 18:07:51 +0000 (14:07 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 8 Jun 2009 18:07:51 +0000 (14:07 -0400)
commit45d06190590cb21d67868b0cfa1e4aa254a637d3
tree3dbd6c94de002693b93f2bf579ecf78acb78e310
parentea9aedd24fc0985a136ab4002d85680d37aabde8
reduce quote parsing worst-case behavior

Split a quote regex into two to increase performance on certain long strings.

Thanks to Edward Z. Yang.
lib/sup/message.rb