[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow inserting non-BMP characters
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Allow inserting non-BMP characters |
Date: |
Wed, 27 Dec 2017 05:41:23 +0200 |
> Date: Tue, 26 Dec 2017 21:36:42 +0000
> From: Alan Third <address@hidden>
> Cc: Philipp Stephani <address@hidden>, address@hidden,
> address@hidden
>
> Appleās documentation says to put it in a buffer:
>
> If you want to iterate over the characters of a string, one of the
> things you should not do is use the characterAtIndex: method to
> retrieve each character separately. This method is not designed for
> repeated access. Instead, consider fetching the characters all at once
> using the getCharacters:range: method and iterating over the bytes
> directly.
>
>
> https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/StringDrawing.html#//apple_ref/doc/uid/TP40001445-112378
What about the possibility that SAFE_NALLOCA could signal an error and
longjmp to top level? Does this code always run in the main thread,
and if so, can it allow such longjmp's?
- [PATCH] Allow inserting non-BMP characters, Philipp Stephani, 2017/12/25
- Re: [PATCH] Allow inserting non-BMP characters, Alan Third, 2017/12/25
- Re: [PATCH] Allow inserting non-BMP characters, Eli Zaretskii, 2017/12/25
- Re: [PATCH] Allow inserting non-BMP characters, Philipp Stephani, 2017/12/26
- Re: [PATCH] Allow inserting non-BMP characters, Eli Zaretskii, 2017/12/26
- Re: [PATCH] Allow inserting non-BMP characters, Philipp Stephani, 2017/12/26
- Re: [PATCH] Allow inserting non-BMP characters, Eli Zaretskii, 2017/12/26
- Re: [PATCH] Allow inserting non-BMP characters, Alan Third, 2017/12/26
- Re: [PATCH] Allow inserting non-BMP characters,
Eli Zaretskii <=
- Re: [PATCH] Allow inserting non-BMP characters, Alan Third, 2017/12/28
- Re: [PATCH] Allow inserting non-BMP characters, Philipp Stephani, 2017/12/28
- Re: [PATCH] Allow inserting non-BMP characters, Eli Zaretskii, 2017/12/28
- Re: [PATCH] Allow inserting non-BMP characters, Philipp Stephani, 2017/12/29
- Re: [PATCH] Allow inserting non-BMP characters, Eli Zaretskii, 2017/12/29