Revert "Eliminate make_map in favor of a simpler map property."
authorEvan Broder <broder@mit.edu>
Sat, 7 Mar 2009 02:53:39 +0000 (21:53 -0500)
committerEvan Broder <broder@mit.edu>
Sat, 7 Mar 2009 02:53:39 +0000 (21:53 -0500)
commit7cabb211aef08afe8aacbc91415d992b8a45a669
tree57e185812d0bb56098c57144704780915dbdf777
parentca61e30d8f2b2a794374ab3f424df9d5337e778a
Revert "Eliminate make_map in favor of a simpler map property."

This reverts commit ca61e30d8f2b2a794374ab3f424df9d5337e778a.

As much as I like using the property instead of the function, it's way
more inefficient to generate the map every time it's accessed. Plus,
you need to seed the map with the controller list, which obviously
wouldn't stick.

I'd switch to using a memoization function of some sort or another,
but Python seems to have utterly failed to standardize on one.
routefs/__init__.py
routefs/dictfs.py
routefs/examples/homefs.py
routefs/examples/pyhesiodfs.py