indent
* encoding.c (enc_compatible_latter): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7b9b1e0e7e
commit
4e1ea795aa
@ -6,7 +6,7 @@ Thu Oct 29 18:42:30 2015 Koichi Sasada <ko1@atdot.net>
|
||||
Thu Oct 29 18:05:22 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* encoding.c (rb_enc_check_str): add for performance.
|
||||
This function only accept T_STRING (and T_REGEXP).
|
||||
This function only accepts T_STRING (and T_REGEXP).
|
||||
|
||||
This patch improves performance of a tiny_segmenter benchmark
|
||||
(num=2) 2.54sec -> 2.42sec on my machine.
|
||||
|
Loading…
x
Reference in New Issue
Block a user