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

client

Here are 5,931 public repositories matching this topic...

curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features

  • Updated Jul 1, 2022
  • C
vimpostor
vimpostor commented Jun 1, 2022

Context

Right now Mumble iterates through every program name of every PID for every positional audio plugin. This is quite wasted CPU time if either the PID count is high or plugin count is high, as the time complexity is in $\mathcal{O}(PIDNum \cdot pluginNum )$.

Example: https://github.com/mumble-voip/mumble/blob/dd5df45313a937359285327f556557159bab758e/plugins/gtav/gtav.cpp#L81

client feature-request good first issue
jimmywarting
jimmywarting commented Jun 20, 2022

if you are only after the headers then it might be better to just use HEAD request.

// Do
const headers = await fetch(url)
  .then(async res => {
    for await (const chunk of res.body) {
      // force consumption of body
    }
    return res.headers
  })

// Do not
const headers = await fetch(url)
  .then(res => res.headers)

alternative is to just cancel it with abort

enhancement good first issue Docs

Improve this page

Add a description, image, and links to the client 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 client topic, visit your repo's landing page and select "manage topics."

Learn more