elpaso / django-dag

Basic portable Directed Acyclic Graph application for Django
66 stars 19 forks source link

Faster edges #16

Closed iiSeymour closed 8 years ago

iiSeymour commented 8 years ago

This merge request significantly improves the runtime of edges_set and increments the version to 1.4.1. If you are happy with this request please also push to pypi, thanks.

iiSeymour commented 8 years ago

I came across a bug in the path implementation (see 14d274f84dfe78637315b7c8f5168e6ac0e3b8cd) where an integer is compared against against a list (Python 3 doesn't let you do this and raises a TypeError).

I spend some of making the test suite run under Python 3 and found no other issues.