diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-05 21:41:46 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 21:41:46 +0600 |
commit | 5c8a7059412bead76bb0fb464856fca28fd2ec33 (patch) | |
tree | df0ac1b47cfb5812efe68428d0365470d6feef31 /src/lua/lua_tensor.h | |
parent | 4ddfbe0a6e705550412f6499ecaf67c035fe191d (diff) | |
parent | bcd36f79596a8666217d29088f6b0040c6cf092b (diff) | |
download | rspamd-5c8a7059412bead76bb0fb464856fca28fd2ec33.tar.gz rspamd-5c8a7059412bead76bb0fb464856fca28fd2ec33.zip |
Merge pull request #4857 from rspamd/vstakhov-lua-udata-opt
[Project] Optimization of userdata hashing
Diffstat (limited to 'src/lua/lua_tensor.h')
-rw-r--r-- | src/lua/lua_tensor.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lua/lua_tensor.h b/src/lua/lua_tensor.h index 2103868ae..ffb2517cf 100644 --- a/src/lua/lua_tensor.h +++ b/src/lua/lua_tensor.h @@ -1,11 +1,11 @@ -/*- - * Copyright 2020 Vsevolod Stakhov +/* + * Copyright 2024 Vsevolod Stakhov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -16,8 +16,6 @@ #ifndef RSPAMD_LUA_TENSOR_H #define RSPAMD_LUA_TENSOR_H -#define TENSOR_CLASS "rspamd{tensor}" - typedef float rspamd_tensor_num_t; struct rspamd_lua_tensor { |