⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

修复以支持包含布尔字段的 [GCOptimize] 结构体#1186

Open
svermeulen wants to merge 1 commit intoTencent:masterfrom
svermeulen:master
Open

修复以支持包含布尔字段的 [GCOptimize] 结构体#1186
svermeulen wants to merge 1 commit intoTencent:masterfrom
svermeulen:master

Conversation

@svermeulen
Copy link

没有这个改动,任何带有 [GCOptimize] 标记且包含布尔字段的结构体都会导致内存分配,因为 Generator.SizeOf 将返回 -1。

@tencent-adm
Copy link
Member

tencent-adm commented Feb 23, 2025

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants