Skip to content

Avoid REPL startup and first-input compilation - #40

Open
PatrickHaecker wants to merge 1 commit into
LilithHafner:mainfrom
PatrickHaecker:fix/repl-runtime-compilation
Open

PatrickHaecker wants to merge 1 commit into
LilithHafner:mainfrom
PatrickHaecker:fix/repl-runtime-compilation

Conversation

@PatrickHaecker

Copy link
Copy Markdown
Contributor

Help inference, keep autoload registration type-stable, traverse input without specialized closures, and precompile autoload-list entries so interactive sessions can reuse cached code.

Net effect on my PC on Julia 1.13 measuring total time BasicAutoloads adds to a fresh REPL session, from using BasicAutoloads through the first input:
main: 207 ms
this branch: 7.5 ms

Help inference, keep autoload registration type-stable, traverse input without specialized closures, and precompile autoload-list entries so interactive sessions can reuse cached code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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