Fixed a bug in the datacon names extension in the dynamic linker
authorPepe Iborra <mnislaih@gmail.com>
Thu, 15 Feb 2007 18:19:34 +0000 (18:19 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Thu, 15 Feb 2007 18:19:34 +0000 (18:19 +0000)
commit47ec5807dfabbe140b60fcb35af8a105b78ba140
tree8186f12bdbc3c935711e76963b6616ff968df08f
parent60ade746bb87a5aa76f5d6d2ca97027fc6356dc7
Fixed a bug in the datacon names extension in the dynamic linker

My code was doing unnecessary work when trying to get hold of all the BCOs in order to sniff the datacon names.
This involved calculating the transitive closure of a relation and was causing a huge performance slowdown in GHCi, as benchmarks uncovered. It turns out that this calculation was unnecessary.
compiler/ghci/Linker.lhs