-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi,
So the title says a lot and probably brings up some negative connotations, but hear me out.
I maintain ClosedXML and a user requested support for emoji, hence my other issue that I logged about strong naming the assembly.
Then we realised that the binaries are about 500kB per target, which is massive for a supposedly small little utility library. It turns out the list of enumerated emoji in Emoji-All.cs, Emoji-Basic.cs and Emoji-Emojis.cs is what makes the binary so big. If I omit those files, the binary is about 37kB, which is much more reasonable.
For our purposes, and maybe for others, we don't need the enumerated list of emoji. We just want to parse the individual "letters" in a string and check if they are emoji.
So my request / suggestion is you split this package into 2:
- Unicode.Net.Core: Which is basically the current project, but omitting the 3 mentioned files
- Unicode.Net.Impl: A new package with those 3 files that depends on Unicode.Net.Core . You'll have to create a new class name here and that will be a breaking change.
What is you feeling about this? This is obviously a big change and will affect all users.
On our side, our alternative is add this repo as a git submodule and compile in all the Unicode.net files that we need, and hence exclude those top 3.
Thanks