The last batch of retain/releases in the core parsing loop of SwiftTerm is gone, and now SwiftTerm is on the vtbench on average only 3% slower than Ghostty 1.4
Get it while it is hot!
Discussion
The last batch of retain/releases in the core parsing loop of SwiftTerm is gone, and now SwiftTerm is on the vtbench on average only 3% slower than Ghostty 1.4
Get it while it is hot!
@Migueldeicaza is it worth considering per platform version conditional implementation so that you can use the new Array.span, or is this something that would end up affecting too much?
@tonyarnold it is possible, but it looked pretty ugly to maintain as it branched out to various spots.
@Migueldeicaza that’s a shame, but I understand. I’m still disappointed in the way that some of the Swift stdlib and language features are gated behind the absolute latest OS versions.
Using modern Swift, so in the last couple of months, unsafe Swift code and unsafe pointer code was removed. The one area that hurts: I cant use is Array.span as it requires a new OS.