
17 Oct
2005
17 Oct
'05
5:34 a.m.
Hello Bjorn, Monday, October 17, 2005, 11:48:10 AM, you wrote: BB> You could use unsafePerformIO, if it doesn't make you feel dirty. BB> Here's what I do to achieve sharing of strings when parsing large files: BB> It seems to work, but if any GHC gurus notice any problems, please let BB> me know. OT: This one feels pretty fast, does anyone have a more BB> efficient implementation? something like it is done in ghc compiler itself :))) see FastString.lhs -- Best regards, Bulat mailto:bulatz@HotPOP.com