I have made a new repository at GitHub since the project does not seem to be maintained here. I have also made the required contributions. Please see https://github.com/maximmasiutin/FastCodeBenchmark
Hello Dominik, Please consider updating the "encodeString8bit" method to make the library compatible with (now deprecated) mbstring.func_overload. For example, if the have the following options in php.ini (mbstring.func_overload = 2; mbstring.internal_encoding = "UTF-8"), the strlen returns the number of characters, not bytes. As a result, QR-encoding a string with national characters truncates the string. To avoid this, just use count() after str_split(), since the last function is not affected...
FastMM4, by default, on thread contention, when one thread cannot acquire access to data, locked by another thread, calls Windows API function Sleep(0), and then, if the lock is still not available enters a loop by calling Sleep(1) after each check of the lock. Each call to Sleep(0) experiences the expensive cost of a context switch, which can be 10000+ cycles; it also suffers the cost of ring 3 to ring 0 transitions, which can be 1000+ cycles. As about Sleep(1) – besides the costs associated with...
Contribute to FastCode (make the test suites work under 64-bit and the latest version of Delphi - 10.2 Tokyo)
What do you think about an option to fill freed (not actually used) pages with zero bytes? This may improve performance under Windows, and also under VMWare and other virtual machine environments? For example, VMWare and HyperV calculate hash of memory pages, and, if the contents is the same, mark this page as "shared" inside a virtual machine and between virtual machines on the same host, until the page is modified. It effectively decreases memory consumption. Windows does the same - it handles...
Fixed the program name in the license notice.
Moved from CVS to SVN