Skip to content

Commit 60d5af6

Browse files
authored
Merge pull request #403 from bytecodealliance/link-benchmark-string-keys
Document reasoning behind using String keys in component records
2 parents 43843c6 + 627ccbb commit 60d5af6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/src/ruby_api/component/func.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ use wasmtime::component::{Func as FuncImpl, Type, Val};
3434
/// tuple::
3535
/// Ruby +Array+ of the same size of tuple. Example: +tuple<T, U>+ would be converted to +[T, U]+.
3636
/// record::
37-
/// Ruby +Hash+ where field names are +String+s.
37+
/// Ruby +Hash+ where field names are +String+s
38+
/// (for performance, see {this benchmark}[https://github.com/bytecodealliance/wasmtime-rb/issues/400#issuecomment-2496097993]).
3839
/// result<O, E>::
3940
/// {Result} instance. When converting a result branch of the none
4041
/// type, the {Result}’s value MUST be +nil+.

0 commit comments

Comments
 (0)