Karl

Results 50 issues of Karl

Swift-doc really doesn't do a good job of using all of the available space. ![image](https://user-images.githubusercontent.com/5254025/115602074-d1ba0280-a2de-11eb-8e76-64f876ead2f6.png) As a result, it tends to be very uncomfortable to read (at least for me)....

design

A project I'm working on makes use of `@_specialize` as an alternative to inlining in certain circumstances. It can be a really great tool for getting the best performance with...

enhancement

e.g. changing myfile.jpg to myfile.zip. Particularly useful for "file" URLs. Possibly implement with an extension on `String`? Extensions can be useful anywhere inside a path, for example: ```swift let url...

enhancement

The `resolve` function is incredibly convenient. ```swift let endpoint = WebURL("https://api.example.com/")! let user_root = endpoint.resolve("/users/karl/")! // https://api.example.com/users/karl/ getJSON(url: user_root.resolve("profile_data")) // https://api.example.com/users/karl/profile_data getJSON(url: user_root.resolve("subscription_info")) // https://api.example.com/users/karl/subscription_info ``` However, it accepts quite...

enhancement

This is decided based on whether we are adding percent-encoding to existing encoded data, or percent-encoding random data. It's really more of a flag for the encoding process, and should...

enhancement

The URL parser can be viewed in 2 steps: 1. Scan the URL string, make sure we can write it as a normalised URL string. 2. Allocate storage, write the...

There is a bit of API awkwardness when making plots for arbitrary data types, which came up during the review for #116 (CC @odmir). Consider the following example (using a...

Both AGG and CoreGraphics draw lines, curves, etc natively with double precision. It would be nice if our Points were also Doubles (rather than Floats). I doubt it makes a...

Start with the input: `http://xn--ls8h/` It works, as it should, and the result is the same. It's the poop emoji, in case you were wondering. It's in the WPT tests....