Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nicer way to use docker compose #105

Merged
merged 1 commit into from
Mar 5, 2018
Merged

Conversation

tomerd
Copy link
Member

@tomerd tomerd commented Mar 5, 2018

Motivation:

asking to cd into the docker directory is not user firendly

Modifications:

use docker-compose -f directive

Result:

happier users

Motivation:

asking to `cd` into the docker directory is not user firendly

Modifications:

use `docker-compose -f` directive

Result:

happier users
Package.swift-e Outdated
.package(url: "https://github.com/apple/swift-nio-zlib-support.git", from: "1.0.0"),
],
targets: targets
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomerd remove this file ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already done

@normanmaurer normanmaurer merged commit 7734506 into apple:master Mar 5, 2018
@normanmaurer normanmaurer added this to the 1.2.0 milestone Mar 8, 2018
weissi pushed a commit to weissi/swift-nio that referenced this pull request Jun 13, 2020
)

Motivation:

As noted in apple#105, I spotted that we were heap-allocating an array
when parsing the frame header. That heap allocation isn't necessary, we
can just write directly into an Int, which should save us some heap spray.

Modifications:

- Rewrote code to avoid heap allocating array and instead to use Int.
- Elided some bounds checks by using an unsafe pointer, since I was
    already here and it saved about 1% performance in a hot loop.

Result:

Fewer heap allocations on the hot code path.
weissi pushed a commit to weissi/swift-nio that referenced this pull request Feb 3, 2024
…ple#105)

* Skip HTTPResponseCompressor logic if response is 204 (no content)

* update test manifests

* use mayHaveResponseBody
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants