< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #10214 has been reported by Hans Mackowiak.
----------------------------------------
Feature #10214: new functions for compare of symbols in C API
https://bugs.ruby-lang.org/issues/10214
* Author: Hans Mackowiak
* Status: Open
* Priority: Normal
* Assignee:
* Category: core
* Target version:
----------------------------------------
currently i often use Symbols as enums in my bindings,
have something like this with comparing symbols by their ID
~~~
if(SYMBOL_P(sym))
{
if(rb_intern("name") == SYM2ID(sym))
return ENUM_NAME;
}
~~~
now with dynamic symbols and other ones, its problematic because with that i always foce a dynamic symbol to become static or pinned (that what SYM2ID does)
so imo there need to be better ways to comare is an ID and a VALUE-sym or two VALUE-syms and check if they have the same content (hm because comparing two VALUE with == might/does not work)
--
https://bugs.ruby-lang.org/