Skip to content

Eagerload code#350

Open
byroot wants to merge 1 commit intodaddyz:masterfrom
byroot:eagerload
Open

Eagerload code#350
byroot wants to merge 1 commit intodaddyz:masterfrom
byroot:eagerload

Conversation

@byroot
Copy link

@byroot byroot commented Feb 12, 2026

While I understand that autoload is convenient, it's not good for production performance and it cause the code to be loaded the first time the constant is referenced, in many case that means as part of the first request, and cause latency spikes on deploy.

It's better to immediately require all the code, especially since phonelib is relatively small.

While I understand that `autoload` is convenient, it's not good for
production performance and it cause the code to be loaded the first
time the constant is referenced, in many case that means as part
of the first request, and cause latency spikes on deploy.

It's better to immediately require all the code, especially since
phonelib is relatively small.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant