Topological sort (performance)

This is same interesting as to benchmarking recursive fibonacci because: “It is important to note that the benchmark codes are not written for absolute maximal performance. Instead, the benchmarks are written to test the performance of identical algorithms and code patterns implemented in each language.” (Source: Julia Micro-Benchmarks) .

ping @Sukera (our discussion here ):

We have now this competent answer:

We have now these possibility in Performance tips in doc:
a) not discourage people from using generator because “we have it” :stuck_out_tongue_winking_eye:
b) admit that this code pattern is better implemented in python (*) and add performance tip to not use it in performance critical part of code (this can be changed in future!)
c) do as this is not happening.

(*) we don’t need to say about python there it is enough to say that generator (cite:) “is not a common way to write high performance code in Julia”. And we could add this for sure to doc: Noteworthy differences from Python because it will bite many pythonistas trying to port their code!