[TIMOB-13949] Streamline iOS KrollContext to reduce lock dependancy
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Unknown |
Created | 2013-05-22T00:15:46.000+0000 |
Updated | 2018-02-28T20:04:13.000+0000 |
Description
Currently, KrollContext, for every event fired, uses a mutable array that has to be protected by a recursive lock. Given that these actions are a pure producer/consumer model, with one consumer and multiple producers, we can optimize out the locks and make a cleaner implementation that may be reusable, as well.
No comments