The Wayback Machine - https://web.archive.org/web/20210722233030/https://github.com/topics/nsurlsession
Skip to content
#

nsurlsession

Here are 58 public repositories matching this topic...

dsaitta0
dsaitta0 commented Nov 5, 2020

Hi,

I saw that there is a perfomance degratation due to a for loop used inside the static func harmlessFunction() declared in CustomSelfAwareHelper struct.

This loop is trying to verify the type with the as? operator (that have a complexity of O(n) ) and try to unwrapp the result in order to call the awake() function.

For a medium-larger project (with likely 20k+ classes) that covers old

ZhengXiuQun
ZhengXiuQun commented Jul 29, 2020
  1. 自己内网模拟一条请求60秒超时。
  2. 发现定时器YMTimeoutSource一直不响应。然后直接断点发现,是如下代码一直在执行一直在占用着workquery线程,所以导致定时器没执行到。就想问下这是为什么,为什么请求退出去了,如下代码定时器也一直在执行。
    企业微信截图_52f573b2-bd38-4f70-8341-d9ae35959e7b

Improve this page

Add a description, image, and links to the nsurlsession topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the nsurlsession topic, visit your repo's landing page and select "manage topics."

Learn more