エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Optimising Haskell for a tight inner loop
Summary: I walk through optimising a Haskell string splitter to get a nice tight inner loop. We l... Summary: I walk through optimising a Haskell string splitter to get a nice tight inner loop. We look at the Haskell code, the generated Core, C-- and assembly. We get down to 6 assembly instructions per input character. Let's start with some simple code: break (`elem` " \r\n$") src This code scans a string looking for a space, newline or $ and returns the string before and the string after. Our go
2014/01/07 リンク