rstudio/rstudio — pull request #6 by jeffreyhorner (2012-02-02 20:56:58+00:00)
Title: Initialized HunspellSpellchecker object with an iconvstr function

A couple of questions on this one:

Should the boost::function type be typedef'd? And if so, where should it go?

Is there overhead in opening and closing the iconv files every time iconvstr is called? The only time they really need to be opened is when the HunspellSpellchecker object is created. How about caching the dictionary encoding?