Code cleanup
Add compat module
Use intern() on loaded string on python3
Add test for performance (using timeit)