Skip to content

perf: use dyn Database to reduce churn and binary size #8404

Closed
@DaniPopes

Description

@DaniPopes

Component

Other (please describe)

Describe the feature you would like

Currently we pass around DB generic everywhere for very little gain. I believe if we used Box<dyn Database> or similar we could remove all of these generics, make Cheatcode object-safe unifying it with DynCheatcode, and generally deduplicate code.

Made possible by recent improvements by @klkvr

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions