google/maktaba — pull request #45 by dbarnett (2014-01-24 10:27:53+00:00)
Title: Cache maktaba#path#Split() results for &runtimepath paths

Improves performance by memoizing a hot spot in `maktaba#rtp#LeafDirs()` where `maktaba#path#Split()` is called inside a loop.

Fixes a performance regression caused by #39, which makes heavy use of LeafDirs to detect newly-added runtimepath dirs.