Skip to content

[Bug] object name争议性讨论 #10927

@kurisaW

Description

@kurisaW

RT-Thread Version

v5.2.2

Hardware Type/Architectures

all

Develop Toolchain

Other

Describe the bug

相关PR:#10537

鉴于社区开发者对此PR争议性较大,这里单独讨论该PR遗留问题,上周社区例会召开后,对大家反馈的问题进行了一个了解,并提出两种优化方案:

1.将object name断言去除,仅保留error/warning级别提示

2.将object name哈希化,这样相比较传统的字节查找方式效率会高很多,但是相对应的也会带来额外更多的内存开销,并且对内核这块改动会比较大

现召集社区开发者一起讨论一下,看看采取什么方案合适,有其他好的解决方案也可以提出

Other additional context

No response

Metadata

Metadata

Assignees

Labels

bugThis PR/issue is a bug in the current code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions