WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: script that generates .tree files  (Read 1606 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1841
Re: script that generates .tree files
« Reply #30 on: Today at 06:55:33 AM »
I think we have a winner. ;D
Hi Rich. Good to hear. I'll be using this version myself :)

Out of curiosity, how long does this latest version take on your hardware?
Here you go:

Code: [Select]
$ time treegen vlc-dev.tcz >/tmp/vlc-dev.tcz.tree
real 0m 0.67s
user 0m 0.40s
sys 0m 0.22s
So 1.86 sec before, 0.67 sec now. Your optimizations help a whole lot: The new version gets the job done in less than half the time, even with the call to gsub.

Thank you for your collaboration with this. Always a pleasure.