mirror of
https://github.com/claunia/plist-cil.git
synced 2026-02-04 05:34:41 +00:00
[PR #42] [MERGED] Use cached values for ASCII, UTF8 and UTF16 encoding #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/claunia/plist-cil/pull/42
Author: @qmfrederik
Created: 6/19/2018
Status: ✅ Merged
Merged: 6/22/2018
Merged by: @claunia
Base:
master← Head:fixes/cache-encoding📝 Commits (1)
23c72a6Use cached encodings📊 Changes
2 files changed (+19 additions, -7 deletions)
View changed files
📝
plist-cil/BinaryPropertyListParser.cs(+6 -4)📝
plist-cil/NSString.cs(+13 -3)📄 Description
Calling
Encoding.GetEncodingis surprisingly expensive, so use cached properties instead. 11.8% improvement on Windows and 22% improvement on Linux.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.