embar-
embar-
Initially this pull request https://github.com/cmaion/polar/pull/49 seemed as direct solution for https://github.com/cmaion/polar/issues/47 but now seems just polishing. Although `samples` variable should be present (since you merged https://github.com/cmaion/polar/pull/48), but this https://github.com/cmaion/polar/pull/49 will...
I hope time profile could help: 
Seems DBML parsing time takes long even for very simple DBML and does not so much depend on complexity or length of DBML. Thus I suggest improve initialization of PyDBML.
Nice catch! It works now in fraction of second. However I also use unicode strings in my DBML... I hope you can add at least some ranges of UTF-8 explicitly....