Skip to content

Commit

Permalink
[gen] Updated segment sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mta452 committed Sep 18, 2021
1 parent 0dc62e1 commit 0d14790
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tools/Generator/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 Muhammad Tayyab Akram
* Copyright (C) 2015-2021 Muhammad Tayyab Akram
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -56,17 +56,17 @@ int main(int argc, const char * argv[])
bidiTypeLookup.generateFile(out);

PairingLookupGenerator pairingLookup(bidiMirroring, bidiBrackets);
pairingLookup.setSegmentSize(113);
pairingLookup.setSegmentSize(106);
pairingLookup.generateFile(out);

GeneralCategoryLookupGenerator generalCategoryLookup(unicodeData);
generalCategoryLookup.setMainSegmentSize(16);
generalCategoryLookup.setBranchSegmentSize(64);
generalCategoryLookup.setBranchSegmentSize(49);
generalCategoryLookup.generateFile(out);

ScriptLookupGenerator scriptLookup(scripts, propertyValueAliases);
scriptLookup.setMainSegmentSize(16);
scriptLookup.setBranchSegmentSize(64);
scriptLookup.setBranchSegmentSize(32);
scriptLookup.generateFile(out);

cout << "Finished.";
Expand Down

0 comments on commit 0d14790

Please sign in to comment.