Author vstinner
Recipients gregory.p.smith, josh.r, maciej.szulik, nnorwitz, rhettinger, serhiy.storchaka, vstinner
Date 2016-03-13.10:03:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwbyoBmdNvbXqaJ_3wGDq8Yty_7rds-rPNnE-ZpVMX+AgA@mail.gmail.com>
In-reply-to <1457853702.72.0.186108460083.issue26314@psf.upfronthosting.co.za>
Content
Serhiy Storchaka added the comment:
>
> Since interned strings table can only grow and contains exact strings,
> other data structure may be more appropriate (for example
> Modules/hashtable.c).
>

FYI this module is not well optimized. I took code and then adapted it for
my needs in tracemalloc. If you want to use it outside, you should check
again that parameters like used buckets/total buckets ratio are well chosen.
History
Date User Action Args
2016-03-13 10:03:21vstinnersetrecipients: + vstinner, nnorwitz, rhettinger, gregory.p.smith, serhiy.storchaka, maciej.szulik, josh.r
2016-03-13 10:03:21vstinnerlinkissue26314 messages
2016-03-13 10:03:21vstinnercreate