ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} In this article I will introduce a new command line search tool, ripgrep, that combines the usability of The Silver Searcher (an ack clone) with the raw performance of GNU grep. ripgrep is fast, cross platform (with binaries available for Linux, Mac and Windows) and written in Rust. ripgrep is available on Github. We will attempt to do the
A couple of years ago, I found a few methods in my Rails application that were called several thousand times and accounted for more than 30 percent of my website's page load time. Each of these methods were strictly focused on file pathnames. Along with that, I came across a blog post that said “Rust to the Rescue of Ruby,” which showed me that I could write my slow-performing Ruby code in Rust an
Rustの3種のべき乗演算の速度差について べき乗(冪乗)とは $b^e$ のように $b$ の $e$ 乗で表される値を差す。ここで $b$ を底(base)、$e$ を冪指数(exponent)と呼ぶ。Rust の標準ライブラリでは3種類の冪演算が提供されている。 浮動小数点数どうしのべき乗 底、冪指数共に浮動小数点数型を取り、結果も浮動小数点数型で返す 例:2f64.powf(8f64) 浮動小数点数と整数のべき乗 底は浮動小数点数型、冪指数は整数型を取り、結果は浮動小数点数型で返す 例:2f64.powi(8i32) 整数どうしのべき乗 底、冪指数共に整数型を取り、結果も整数型で返す 例:2i64.pow(8u32) プラットフォーム(OS や CPU アーキテクチャ)によって、それぞれの演算速度に大きな違いがあることに気づいたので、いくつかの環境で試してみた。 試そうとしたきっか
Websocket Shootout: Clojure, C++, Elixir, Go, NodeJS, and Ruby by Jack Christensen on September 1, 2016 When a web application has a requirement for real time bidirectional communication, websockets are the natural choice. But what tools should be used to build a websocket server? Performance is important, but so is the development process. A performance benchmark alone is not enough. We also need
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く