Skip to content

Commit

Permalink
Merge pull request #403 from bytecodealliance/link-benchmark-string-keys
Browse files Browse the repository at this point in the history
Document reasoning behind using String keys in component records
  • Loading branch information
jbourassa authored Nov 25, 2024
2 parents 43843c6 + 627ccbb commit 60d5af6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/src/ruby_api/component/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ use wasmtime::component::{Func as FuncImpl, Type, Val};
/// tuple::
/// Ruby +Array+ of the same size of tuple. Example: +tuple<T, U>+ would be converted to +[T, U]+.
/// record::
/// Ruby +Hash+ where field names are +String+s.
/// Ruby +Hash+ where field names are +String+s
/// (for performance, see {this benchmark}[https://github.com/bytecodealliance/wasmtime-rb/issues/400#issuecomment-2496097993]).
/// result<O, E>::
/// {Result} instance. When converting a result branch of the none
/// type, the {Result}’s value MUST be +nil+.
Expand Down

0 comments on commit 60d5af6

Please sign in to comment.