|
From: 'Fredrik R. v. icu-s. <icu...@un...> - 2024-12-30 03:43:34
|
On Sat, Dec 28, 2024 at 2:42 AM Gregorio Litenstein <g.l...@gm...> wrote: > 1) Are instances of icu::Locale expensive to construct? Kind of, maybe, maybe not. They're definitely not trivial to construct, but whether that's an issue for your use-case is something that you only can find out by doing measurements. > 2) Do I need to worry about cleaning them up? and if so, how? In terms of memory management there's nothing strange about them, they behave just like any normal C++ object, once constructed you can think of them and handle them just like you would do with std::string objects. -- Fredrik Roubert ro...@go... -- You received this message because you are subscribed to the Google Groups "icu-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to icu...@un.... To view this discussion visit https://groups.google.com/a/unicode.org/d/msgid/icu-support/CAPLBv_NvFDGm17d%2BVzK4N9MzBfav4r3aBmFQ0VY8SZ0nHwNa5Q%40mail.gmail.com. |