Skip to content

Defer creation of not-accessed complex objects - #3840

Merged
domenic merged 2 commits into
mainfrom
dataset-defer
Mar 15, 2025
Merged

domenic merged 2 commits into
mainfrom
dataset-defer

Conversation

@domenic

@domenic domenic commented Mar 15, 2025 •

Copy link
Copy Markdown
Member

See individual commits for details.

Part of #3154.

domenic added 2 commits March 15, 2025 22:21
If it's not accessed (which is the majority case), we can avoid paying the cost of initializing it.

Part of #3154.
Similarly to dataset, if it's not accessed we don't have to create it.

Part of #3154.
@domenic domenic changed the title Defer creation of the dataset DOMStringMap Defer creation of not-accessed complex objects Mar 15, 2025
@domenic
domenic merged commit f54e8e7 into main Mar 15, 2025
@domenic
domenic deleted the dataset-defer branch March 15, 2025 13:48
@domenic domenic added the metr uplift A candidate for the METR Uplift experiment label Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metr uplift A candidate for the METR Uplift experiment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant