On Jan 13, 2018, at 04:14, René J.V. Bertin wrote: > Of course this argument begs the question if the portindex command couldn't > be made faster, e.g. by porting it to a proper compiled language? No one ever > wrote the equivalent of cython or pyrex for Tcl?
Lots of parts of MacPorts are compiled C code instead of Tcl. If the overhead of the interpreted Tcl language is a problem for portindex, it could be rewritten in C. I'm not convinced that's the case; I assume its speed would be limited by the speed of disk accesses.
