facundobatista / kilink

A next generation pastebin
GNU General Public License v3.0
25 stars 30 forks source link

Cleaner and faster tree builder, less code repetition. #64

Closed fisadev closed 11 years ago

fisadev commented 11 years ago

The tree is built with far less code, and is faster (loop vs recursion). Also, less repetition of the fields for the nodes. Previously they were repeated over 3 different places, now the builder doesn't needs to know the fields, no need to remember updating it when they change.

facundobatista commented 11 years ago

Like it very much! Thanks!

To be able to merge it, please fix the lint error (makes "./test" fail). Thanks!!

fisadev commented 11 years ago

done, sorry :)

facundobatista commented 11 years ago

Thanks for this work!!