Skip to content

Commit

Permalink
Complement #736 - forEach rather than map
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Aug 3, 2023
1 parent d22c565 commit 07da030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/issues/736.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const features: Record<string, (str: string) => string> = {
const data: string[] = typia.random<ISmallStrings>().values;
const suite = new benchmark.Suite();
for (const [key, value] of Object.entries(features)) {
suite.add(key, () => data.map(value));
suite.add(key, () => data.forEach(value));
}
suite.run();

Expand Down

0 comments on commit 07da030

Please sign in to comment.