Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt example #357

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from
Draft

Prompt example #357

wants to merge 9 commits into from

Conversation

Guocork
Copy link
Collaborator

@Guocork Guocork commented Jan 24, 2025

No description provided.

@Guocork Guocork marked this pull request as draft January 24, 2025 09:31
Comment on lines +504 to +505
// Read a file from JSON.
let file_content = fs::read_to_string("./resources/files/prompt_data.json").expect("Failed to read JSON file");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not be doing computation expensive operation here in the draw_walk as draw_walk runs multiple times.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your review! I noticed that, and I'll fix it in future commits.

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.

5 participants