Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Modifying native prototypes is useful but very slow in v8 & jsc. For common patterns like keywords as fns - this is a big performance hit. The compiler should perhaps emit a shared keyword wrapper which implements IFn.
Rich gave me a good suggestion - optimize at the call site - fast path is property lookup.