Released with a new ChatGPT generated algorithm that switched the Glob Pattern Matching from exponential to linear time!

Released with a new ChatGPT generated algorithm that switched the Glob Pattern Matching from exponential to linear time!

If an undefined weak symbol is not resolved to a defined symbol at link time, the linker can choose whether to promote the symbol to a dynamic symbol or not. If promoted, the weak symbol has another chance to be resolved to a defined symbol at load time. Otherwise, it is resolved to address 0 at link time. Previously, mold always resolved remaining undefined weak symbols in an executable to address 0 at link time. Now, you can instruct the linker to promote them to dynamic symbols using -z dynamic-undefined-weak. (1822e47)

“mold is so fast that it is only 2x slower than the cp command on the same machine”
Reasons that mold is so fast include faster algorithms, more efficient data structures and parallelization.
