Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 59379

Ruby 2.4 的一些新特性

$
0
0

使用了 Regexp#match? 的更快的正则表达式

Ruby 2.4 为正则表达式新增加了一个新的 #match? 方法,它比 Ruby 2.3 中Regexp的任何一个方法都要快三倍:



Viewing all articles
Browse latest Browse all 59379

Trending Articles