Skip to content

Commit

Permalink
src: various minor improvements to node_url
Browse files Browse the repository at this point in the history
Went hunting for possible performance improvements. Didn't find
anything significant but did manage to make a number of style
improvements that bring more in line with style guidelines and
good pratice.

PR-URL: #31651
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
jasnell authored and addaleax committed Feb 7, 2020
1 parent 2db1c8d commit aee3e2b
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 118 deletions.
7 changes: 7 additions & 0 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,13 @@ constexpr size_t kFsStatsBufferLength =
V(type_string, "type") \
V(uid_string, "uid") \
V(unknown_string, "<unknown>") \
V(url_special_ftp_string, "ftp:") \
V(url_special_file_string, "file:") \
V(url_special_gopher_string, "gopher:") \
V(url_special_http_string, "http:") \
V(url_special_https_string, "https:") \
V(url_special_ws_string, "ws:") \
V(url_special_wss_string, "wss:") \
V(url_string, "url") \
V(username_string, "username") \
V(valid_from_string, "valid_from") \
Expand Down

0 comments on commit aee3e2b

Please sign in to comment.