rust-js / rjs

Rust JavaScript interpreter
98 stars 6 forks source link

Optimize backing storage for hash and array store #5

Open pvginkel opened 9 years ago

pvginkel commented 9 years ago

The hash and array store currently use the same backing storage. Instead they should both use an optimized storage format. At least we should move the accessor out of the entries and to a heap object. This optimizes for simple values.