From d60372b5c3ba517f1015b93912824e0675a4326d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 22 Oct 2021 04:05:16 +0000 Subject: allow Ruby to deduplicate remaining globals Most of these are bound to be used in Rack/Rails/apps/gems, (though possibly with different encodings). Give Ruby a chance to deduplicate them, at least. --- ext/unicorn_http/common_field_optimization.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/unicorn_http/common_field_optimization.h') diff --git a/ext/unicorn_http/common_field_optimization.h b/ext/unicorn_http/common_field_optimization.h index 0659fc7..250e43e 100644 --- a/ext/unicorn_http/common_field_optimization.h +++ b/ext/unicorn_http/common_field_optimization.h @@ -83,7 +83,6 @@ static void init_common_fields(void) struct common_field *cf = common_http_fields; char tmp[64]; - id_uminus = rb_intern("-@"); memcpy(tmp, HTTP_PREFIX, HTTP_PREFIX_LEN); for(i = ARRAY_SIZE(common_http_fields); --i >= 0; cf++) { -- cgit v1.2.3-24-ge0c7