Improve Map indexing functions.
authorMilan Straka <fox@ucw.cz>
Sat, 21 Apr 2012 20:14:42 +0000 (22:14 +0200)
committerMilan Straka <fox@ucw.cz>
Sat, 21 Apr 2012 20:14:42 +0000 (22:14 +0200)
commit299ba9054c1f9ac97fe66e6c422b1b32730855ec
treeeff0ed22be096344a0ca3d1d3a7d95a91a5cc9e4
parent78c1e523a6dacb092da6fa2deef04d498fd588a3
Improve Map indexing functions.

* Manually inline findIndex and deleteAt to avoid allocation.

* Give type to local 'go' function of findIndex and lookupIndex
  to avoid heap allocation.
Data/Map/Base.hs