- 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";
- 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;
}
- or download this
get_properties : 11 secs
sort + output : 74 secs
total : 85 secs
- or download this
get_properties : 11 secs
sort + output : 25 secs
total : 36 secs
- or download this
get_properties : 10 secs
sort + output : 20 secs
total : 30 secs
- or download this
get_properties : 9 secs
sort + output : 7 secs
total : 16 secs
- or download this
get_properties : 6 secs
sort + output : 6 secs
total : 12 secs
- 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>;
- or download this
get_properties : 4 secs
sort + output : 5 secs
total : 9 secs
- or download this
sort { $href->{$b} <=> $href->{$a} || $a cmp $b } keys %{$href}
- or download this
sort { $href->{$b} <=> $href->{$a} } sort keys %{$href} )