Help for this page

Select Code to Download


  1. or download this
    # llil2.pl
    # Example run: perl llil2.pl tt1.txt tt2.txt tt3.txt >out.txt
    ...
    
    warn "sort + output  : $taken2 secs\n";
    warn "total          : $taken secs\n";
    
  2. or download this
    // llil2.cpp. C++ 11 version of Perl llil.pl.
    // llil2.cpp is faster than llil.cpp while also clarifying limits:
    ...
    
       return 0;
    }
    
  3. or download this
    get_properties : 11 secs
    sort + output  : 74 secs
    total          : 85 secs
    
  4. or download this
    get_properties : 11 secs
    sort + output  : 25 secs
    total          : 36 secs
    
  5. or download this
    get_properties : 10 secs
    sort + output  : 20 secs
    total          : 30 secs
    
  6. or download this
    get_properties : 9 secs
    sort + output  : 7 secs
    total          : 16 secs
    
  7. or download this
    get_properties : 6 secs
    sort + output  : 6 secs
    total          : 12 secs
    
  8. or download this
    using map_str_int_type = std::unordered_map<std::string, llil_int_type
    +>;
    // to (llil2a.cpp):
    using map_str_int_type = std::map<std::string, llil_int_type>;
    
  9. or download this
    get_properties : 4 secs
    sort + output  : 5 secs
    total          : 9 secs
    
  10. or download this
    sort { $href->{$b} <=> $href->{$a} || $a cmp $b } keys %{$href}
    
  11. or download this
    sort { $href->{$b} <=> $href->{$a} } sort keys %{$href} )