You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try running this test loop. You will observe a pretty serious memory leak.
func testMemoryLeak(){lettestNumber="4081234567"
for var i =0; i <100000; i++{do{letphoneNumber=tryPhoneNumber(rawNumber: testNumber)
// phoneNumber.toE164()
}catch{XCTFail()}}XCTAssert(true)}
The text was updated successfully, but these errors were encountered:
Found several issues (indeed inside the regex code) and fixed them with a new release (0.3). I still think there's more work to do to optimise memory usage. Closing for now...
Try running this test loop. You will observe a pretty serious memory leak.
The text was updated successfully, but these errors were encountered: