[Python-Dev] ucnhash module

M.-A. Lemburg mal@lemburg.com
Thu, 29 Jun 2000 15:04:24 +0200


Greg Ward wrote:
> 
> On 29 June 2000, M.-A. Lemburg said:
> > The ucnhash module is loaded on demand to avoid memory bloat.
> > In practice the difference is not really noticeable since
> > loading a shared module or swapping in a few pages of static
> > C data result in pretty much the same overall memory usage.
> >
> > If no-one complains, I'll fix the test suite though to make
> > the tests of the named Unicode characters optional.
> 
> How 'bout a separate "test_ucn" to test this feature?

Good idea.
 
> ...of course, this is yet another case of language syntax features
> becoming optional and selectable at compile-time, which I still think is
> a bad idea.  Hmmm.

It's not selectable at run-time: either you have compiled the
module or not. It is enabled per default.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/