treedict icon indicating copy to clipboard operation
treedict copied to clipboard

Python-only version

Open majorz opened this issue 13 years ago • 1 comments

Some environments like Google App Engine does not support C extensions and some operating systems come without pre-installed compiler. How about a fall-back version to Python only implementation for such systems?

majorz avatar Dec 18 '10 09:12 majorz

Thanks for the comment.

I do hope to get a binary distribution package up for windows as soon as I can spend the time to learn how to do distribution packages for windows. I'll see about doing that in the next few days.

As for a python fallback version, I agree that it would be a good idea and possibly one I should have engineered in from the start. Unfortunately, it would be a major amount of work to code a python-only version that passes all the unit tests and still has reasonable speed. There's a number of low-level operations implemented in C such as object hashing or locking branches when iterators are accessing them (to mimic the behavior of dict). I'll still see about it, though, and I'm open to suggestions.

hoytak avatar Dec 18 '10 16:12 hoytak