Optimized dumping performance. Dumping is now about half as fast
as loading. Also slightly improved loading performance. Greatly improved performance with very small files. We can now load 10000 24 byte files in a second, and dump them at the same speed. Fixed another FastCharSearch bug.
This commit is contained in:
parent
8b995e5061
commit
62f7e2e4df
7 changed files with 98 additions and 54 deletions
|
@ -89,7 +89,7 @@ string searchCode(dstring chars, uint tableSize)()
|
|||
|
||||
code ~= specialChars.length
|
||||
? " return " ~ specialCharsCode() ~ ";\n"
|
||||
: " return false";
|
||||
: " return false;";
|
||||
code ~= "}\n";
|
||||
|
||||
return code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue