Python: fix: optimize function_copy to avoid unnecessary deepcopy by nimanikoo · Pull Request #13599 · microsoft/semantic-kernel
- Implement lazy deepcopy in function_copy() method - Only copy metadata when plugin_name actually changes - Reuse metadata reference when no modification needed - performance improvement in function_copy operations - Add unit tests to verify lazy copy behavior
github-actions
bot
changed the title
fix: optimize function_copy to avoid unnecessary deepcopy
Python: fix: optimize function_copy to avoid unnecessary deepcopy
For enable deep copy Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings
March 24, 2026 09:30This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters