I ran into this weird behaviour on the Mac. I was opening a text file having about 220,000 lines of very short text elements. I then saved the file again. It took 15.72 seconds on my M4 MacBook Pro. Saving remained slow whenever I saved during the session.
I then started again, opened the file, and opened it again directly afterwards, then saved it. It took 0.3 seconds and remained at 0.3 seconds throughout the session. That’s 52.4 times faster.
I inserted measuring points to see if it was a particular parts that was the bottleneck. The elements scaled proportionally, so I somehow doubt that it’s the reading code as such being the bottleneck.
Any suggestions why this happens? An AI search indicates that Apple has had some problem with slow saving on Tahoe and Golden Gate. Could that be the problem ?