Skip to content

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Oct 3, 2025

Refactor unique directory creation logic to use random file names.

Fixes #7485

Refactor unique directory creation logic to use random file names.
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the unique directory creation logic for temporary files to use random file names instead of incrementing directory numbers. The change replaces a counter-based approach with a random filename approach to generate unique temporary directory names.

  • Replaces incremental directory numbering with random filename generation
  • Simplifies the directory creation loop logic
  • Updates the directory naming pattern from ml_dotnet{number} to ml_dotnet_{randomfilename}

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

Slow model loading performance after version 3.0.1
2 participants