-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ft: add struct for keeping state of ClientHandler
This is used to allow Elixir compiler to provide minuscule optimisation, as with `%{} = data` it will no longer need to check if `data` is an atom when doing `data.foo`. It also makes it harder to accidentally access non-existing field as new Elixir versions can check accessed fields names.
- Loading branch information
Showing
1 changed file
with
70 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters