先月発売の歴史群像で知って、欲しい(読みたい)んだけど値段がー
Amazon.co.jp: 新史料による日露戦争陸戦史 覆される通説: 長南 政義: 本
上野恩賜公園の「恩賜」をちゃんと読めないおねーちゃんに上野で遭遇。
お、なんだこの面白そうな本は。
String interning - Trie vs Hash Table Deathmatch! : programming
Trie vs Hash Table Deathmatch!
Consider measuring again with the add function written like this:
uint add(Intern_pool* pool, std::string s)
{
auto& map = pool->map;
auto i = map.find(s);
if (i != std::end(map))
return i->second;
map.emplace(std::move(s), ++pool->next);
return pool->next;
}
ぱっと見で、こう書くとどういう動作するんだっけと
一瞬固まる箇所が幾つか。
http://wryun.github.io/es-shell/
Es is an extensible shell. The language was derived from the Plan 9 shell, rc,
and was influenced by functional programming languages, such as Scheme,
and the Tcl embeddable programming language.
Want to know more? Check out:
Haahr & Rakitzis's paper Es: a shell with higher-order functions
http://wryun.github.io/es-shell/paper.html
https://github.com/downloads/wryun/es-shell/paper.pdf
the manual page
http://wryun.github.io/es-shell/manpage.html
http://github.com/downloads/wryun/es-shell/manpage.pdf