[PR #4039] [MERGED] types/model: reduce Name.Filepath allocs from 5 to 2 #42611

Closed
opened 2026-04-24 22:21:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4039
Author: @bmizerany
Created: 4/30/2024
Status: Merged
Merged: 4/30/2024
Merged by: @bmizerany

Base: mainHead: bmizerany/reducemodelnamefilepathallocs


📝 Commits (1)

  • d4867f8 types/model: reduce Name.Filepath allocs from 5 to 2

📊 Changes

2 files changed (+21 additions, -6 deletions)

View changed files

📝 types/model/name.go (+6 -6)
📝 types/model/name_test.go (+15 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/4039 **Author:** [@bmizerany](https://github.com/bmizerany) **Created:** 4/30/2024 **Status:** ✅ Merged **Merged:** 4/30/2024 **Merged by:** [@bmizerany](https://github.com/bmizerany) **Base:** `main` ← **Head:** `bmizerany/reducemodelnamefilepathallocs` --- ### 📝 Commits (1) - [`d4867f8`](https://github.com/ollama/ollama/commit/d4867f8392d50ab68060710c25ef11e5a63dde05) types/model: reduce Name.Filepath allocs from 5 to 2 ### 📊 Changes **2 files changed** (+21 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `types/model/name.go` (+6 -6) 📝 `types/model/name_test.go` (+15 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 22:21:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#42611