mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Pre-zigdom, we could use the postAttach behavior to store commonly accessed and never-changed accessors directly on the v8::object. I've tried to re-enable this feature a couple times, and have failed. Between the new Snapshot and the always-on unhandled property handler for Window it never seems to work very well. Plus, Gemini continues to insist that changing the shape of the Object is more like to hurt than help performance. There's possibly an optimization here worth revisiting in the future, but for the time being, this code does nothing except for possibly deceive a reader that some optimization is going on when it isn't.