Miroslav Kovac
Miroslav Kovac
Yep, still happening with 3.4.1: `+44745819` is transformed into `+44 1481 745819`.
@bguidolim here is a snipped to reproduce it: ``` let phoneNumberKit = PhoneNumberKit() let parsed = try! phoneNumberKit.parse("+44745819") let formatted = phoneNumberKit.format(parsed, toType: .international) print(formatted) // +44 1481 745819 ```
On its own it is not a valid phone number I guess, but eventually (after adding the final few digits) it will become. The problem is in use case where...
For me `phoneNumberKit.isValidPhoneNumber("+44745819")` returns `true`. I will check the `PhoneNumberTextField` later if that would help with figuring out what is going on.
Hi @glennverhalle, thanks for the feedback. Can you please try version 3.1.0 if it solves the issue? Thanks.
Hi @glennverhalle, please take a look at Lingo-Vapor 4.1.0. Let me know how it works, cheers :)
I am able to reproduce it without any fileio: ```swift app.on(.POST, "upload", body: .stream, use: { request async throws in let data = request.body.collect(upTo: Int.max) } ``` This alone is...
@photovirus did you try doing some benchmarking before/after? I am curious what is the impact on the performance.
Anybody knows how to fix this? Or perhaps how other frameworks have done it for M1?
@ptoffy is the #3232 expected to also fix this memory issue? I have also observed this linear ever-increasing memory allocation, similar to what @kevinzhow reported.