Chris Tate
7cce36354f
Dispatch checked-dynamic method calls on method ids
...
A method call on a value of unknown type (untyped JavaScript, `any`)
picked its builtin by comparing the method name with strcmp against each
candidate, in long ladders per receiver kind: a string method could test
dozens of names before it matched.
- The name is now looked up once per call in a generated hash table
(scr_dyn_methods.h, from scripts/gen-dyn-methods.mjs), and each ladder
compares the resulting id. The table verifies the name's bytes, so a
name is matched by its content, as before.
- The worker event methods compare the first character before strcmp.
- bench/dynamic-methods calls string, array, Map, Set, number and own
methods from untyped JavaScript.
2026-10-22 11:21:10 -05:00
..
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-16 00:06:31 -05:00
2026-10-20 18:08:10 -05:00
2026-10-19 23:24:56 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 15:33:00 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-15 18:26:48 -05:00
2026-10-22 11:21:10 -05:00
2026-10-22 11:21:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-08 15:33:00 -05:00
2026-10-20 18:08:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-15 19:59:56 -05:00
2026-10-20 18:08:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-08 15:51:42 -05:00
2026-10-20 18:08:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-15 17:47:34 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-14 13:02:38 -05:00
2026-10-20 18:08:10 -05:00
2026-10-15 22:19:05 -05:00
2026-10-20 18:08:10 -05:00
2026-10-14 21:07:40 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-15 22:22:32 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-20 18:08:10 -05:00
2026-10-18 04:11:02 -05:00
2026-10-22 01:11:37 -05:00
2026-10-22 08:31:12 -05:00
2026-10-15 14:19:47 -05:00
2026-10-20 18:08:10 -05:00
2026-10-15 14:19:47 -05:00
2026-10-20 18:08:10 -05:00
2026-10-15 14:19:47 -05:00
2026-10-20 18:08:10 -05:00
2026-10-20 14:11:26 -05:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 18:08:10 -05:00
2026-10-14 02:44:11 -05:00
2026-10-20 18:08:10 -05:00
2026-10-17 12:07:26 -07:00
2026-10-20 18:08:10 -05:00
2026-10-08 09:38:23 -07:00
2026-10-20 19:05:22 -05:00
2026-10-19 07:46:06 -05:00