By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Mold 2.40.1 Delivers More Performance – Including A New Algorithm Generated By ChatGPT
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Mold 2.40.1 Delivers More Performance – Including A New Algorithm Generated By ChatGPT
Computing

Mold 2.40.1 Delivers More Performance – Including A New Algorithm Generated By ChatGPT

News Room
Last updated: 2025/06/09 at 6:51 AM
News Room Published 9 June 2025
Share
SHARE

While a point release, Mold 2.40.1 is another notable step forward for this high-speed linker alternative to GNU LD/Gold and LLVM LLD. Mold 2.40.1 brings yet more performance improvements.

Mold 2.40.1 now eliminates unnecessary memory zero-initialization with the “–compress-debug-sections” option. This change makes debug section compression faster and can even yield –compress-debug-sections usage to be faster than without using it due to the reduced file I/O.

Mold lead developer Rui Ueyama confirmed this change can drop the time by about 1.2 seconds on an AMD Ryzen Threadripper 7980X system when linking an executable with around 5GB of debug info sections.

Threadripper 7980X

Mold 2.40.1 also speeds things up by using a linear-time algorithm for glob pattern matching rather than an exponential pattern matching algorithm. This new algorithm should be faster for any glob pattern.

Interesting Rui turned to ChatGPT AI for coming up with this new algorithm. He noted with this glob algorithm patch:

“Improve multi-glob pattern matcher so that it’s linear-time

I asked ChatGPT how to match multiple glob patterns simultaneously with a given input string, while avoiding the textbook-style NFA-to-DFA conversion. Then it suggested that I implement a bitvector-based NFA simulation algorithm that I wasn’t aware. I don’t think I could have come up with it myself easily. This is impressive. ChatGPT is so good at programming and sometimes much better than me! It may not be to long before AI writes all the code for me.”

More details on these Mold 2.40.1 changes via GitHub.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Local council devolution: Could it accelerate the pace of local government cloud adoption? | Computer Weekly
Next Article The Outer Worlds 2 Launches at $80, Joining a New Trend in Gaming
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

How to Start a Podcast in 2024: Step-by Step Guide
Computing
Waymo halts service in LA after robotaxis set ablaze
News
How AI Helps Regular People Build Useful Businesses | HackerNoon
Computing
watchOS 26 finally brings Apple Intelligence to the Apple Watch… for better or worse | Stuff
Gadget

You Might also Like

Computing

How to Start a Podcast in 2024: Step-by Step Guide

6 Min Read
Computing

How AI Helps Regular People Build Useful Businesses | HackerNoon

10 Min Read
Computing

China’s BYD, Geely offer big incentives in latest price war move · TechNode

1 Min Read
Computing

Six founders ask investors questions about venture capital

15 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?