-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Extended_Pictographic in UnicodeProperty subclasses #97
Comments
what would be best is to have a test that verifies that the heuristic is correct… test all unassigned codepoints. |
I agree. Could be pretty simple.
|
Is this issue distinct from #53? |
53 is a duplicate (and has less information)
Mark
…On Mon, Jul 19, 2021 at 8:30 PM Ned Holbrook ***@***.***> wrote:
Is this issue distinct from #53
<#53>?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJLEMF3ZC3KCHAIEVD42YLTYTUUVANCNFSM5AQC7ZVQ>
.
|
srl295
added a commit
that referenced
this issue
Jul 20, 2021
srl295
added a commit
that referenced
this issue
Jul 21, 2021
@macchiati done the quick fix, but need to do unit test also, so keeping this open |
sounds good, thanks!
Mark
…On Wed, Jul 21, 2021 at 10:25 AM Steven R. Loomis ***@***.***> wrote:
@macchiati <https://github.com/macchiati> done the quick fix, but need to
do unit test also, so keeping this open
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJLEMEOJHJRQWQ5LJXC2H3TY37IHANCNFSM5AQC7ZVQ>
.
|
And thanks for jumping on it.
Mark
…On Wed, Jul 21, 2021 at 10:28 AM Mark Davis ☕️ ***@***.***> wrote:
sounds good, thanks!
Mark
On Wed, Jul 21, 2021 at 10:25 AM Steven R. Loomis <
***@***.***> wrote:
> @macchiati <https://github.com/macchiati> done the quick fix, but need
> to do unit test also, so keeping this open
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#97 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACJLEMEOJHJRQWQ5LJXC2H3TY37IHANCNFSM5AQC7ZVQ>
> .
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is both in the JSPs and in the regular unicodetools.
There is a special hack for performance that works for most properties. Only one character in the unassigned range is tested for the property in some of the internals if the property is marked as hasUniformUnassigned() = true.
If the value is false, then every unassigned character is tested. It is the responsibility of each UnicodeProperty subclass to mark any exceptions. For example,
New properties like Extended_Pictographic need to be added to lists like this. The way to fix it is to search for setUniformUnassigned(false) and check that the lists are right.
NOTE: This performance hack was from a long time ago, and may not be needed anymore, but we should analyze the impact before removing.
The text was updated successfully, but these errors were encountered: