Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
sort keys to try to eliminate data dependence on Ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jun 25, 2015
1 parent 6a7f92d commit eefdaed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/data_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ def c_entry(comb1_indicies, comb2_indicies)

$stdout << "const utf8proc_int32_t utf8proc_combinations[] = {\n "
i = 0
comb1st_indicies.keys.each_index do |a|
comb2nd_indicies.keys.each_index do |b|
comb1st_indicies.keys.sort.each_index do |a|
comb2nd_indicies.keys.sort.each_index do |b|
i += 1
if i == 8
i = 0
Expand Down

0 comments on commit eefdaed

Please sign in to comment.