Shane F. Carr

Results 1750 comments of Shane F. Carr
trafficstars

TG2 discussion notes: https://github.com/tc39/ecma402/blob/main/meetings/notes-2024-09-26.md#design-for-currency-and-unit-inputs-that-carry-their-values

Proposal: https://github.com/tc39/proposal-measure

I want to see if I can finish https://github.com/unicode-org/icu4x/pull/5615 and if it is performant, it will be a better solution than the one in this PR. If https://github.com/unicode-org/icu4x/pull/5615 doesn't work...

@echeran is going to look into this in Q3.

@echeran design doc: https://docs.google.com/document/d/1X5qiEK1swGYMblwbBcOu1HkiZUbL4yhnekVyzPPQo-o/edit?tab=t.0#heading=h.r76nofm7sof WG discussion: - @sffc As a general framework, enums are smaller and faster than trait objects. - @zbraniecki I think the MF data model is a...

Flattening produces substantially smaller and faster Drop impls. With nesting, you have to iterate over the whole message every time you Drop. I've seen this before in other components. This...

Evidence for my claim: Program 1: ```rust #![crate_type = "cdylib"] #[no_mangle] pub fn drop_vec_of_usize(v: Vec) -> usize { std::hint::black_box(v).capacity() } ``` ASM: 18 instructions. No loop or branching except for...

I'm assuming that most messages come in at runtime and will be parsed at runtime via `Message::try_from_str`, and I am coming into this with the frame of mind that constructing...

I also think there may be a difference in values. What I see as goals and non-goals: - Goal: Produce the fastest MessageFormat 2.0 parser and formatter on the planet....

> Moving `Vec` out and flattening doesn't make expressions Copy since they have other non-Copy fields. No? Which fields? I'm assuming that all strings, including variable and attribute names, are...