mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
Use static array for table
This commit is contained in:
parent
bd8b943fa2
commit
bdbce3b67d
3 changed files with 3 additions and 2 deletions
|
@ -901,7 +901,7 @@ void writeCaseFolding(File sink)
|
|||
writeln("}");
|
||||
writeln("@property FCE fullCaseTable(size_t index) nothrow @nogc @safe pure");
|
||||
writeln("{");
|
||||
write("static immutable ulong[] t = [");
|
||||
writef("static immutable ulong[%d] t = [", fullTable.length);
|
||||
int[4] maxS = 0;
|
||||
foreach (i, v; fullTable)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue