linux_inet_diag: remove needless OBJ_FREEZE calls
commit6d5ba2a10884303dc52df2557a08f3a87d1299b1
authorEric Wong <bofh@yhbt.net>
Sun, 24 Mar 2024 00:19:17 +0000 (24 00:19 +0000)
committerEric Wong <bofh@yhbt.net>
Mon, 25 Mar 2024 21:19:06 +0000 (25 21:19 +0000)
tree1ab28f9557f3f226e5a7b62d21f8e087ab7dd53a
parenta36cf00dee5d7657bf95b66bd4559feaab010989
linux_inet_diag: remove needless OBJ_FREEZE calls

OBJ_FREEZE before calling rb_hash_aset was actually preventing
deduplication since Ruby 2.6.  This introduces a performance
regression for Ruby 2.5 users, but I expect the majority of
users are on newer versions (I'm on 2.7, which is still ancient).
ext/raindrops/linux_inet_diag.c