NlogN/DB2012 — pull request #3 by ya-pulser (2012-11-04 15:25:30+00:00)
Title: Common functionality extraction

Please extract common functionality and remove duplication of code.