Shane F. Carr

Results 1856 comments of Shane F. Carr

The way to get zero-cost is to use an array or a struct. If you're using VZV, you are already incurring *some* cost. If it takes an additional 10% on...

> I don't understand how this is relevant: I'm quite happy with a variable size VZV, what I'm pushing back against is making the _length_ itself an independent variable size;...

We can make a read-efficient varint-like representation for the length, similar to UTF-8. I think Postcard already has something like this available; maybe we could leverage it.

Are we okay as a group making 2^32 a hard cap on the number of elements contained in the data structure? And what do we do if we exceed it?...

It may be worth noting that if you somehow end up with 2^32 elements in your VZV, there may be an architectural problem you should be solving instead. (3) with...

Discussion: - @nciric - How often do you hit 2^32? And how about OOM? - @Manishearth - I think it's rare. CPT has a lot of elements, but it rarely...

Discussion: - @sffc - We should focus on well-tested ICU4X engines, perhaps with features. - @nciric - This is for specific clients to override so that they can use their...

Actino for 1.0 is to make sure we're not boxing ourselves into a corner with the currently proposed APIs.

I think we are mostly future-proof here. `WordBreakSegmenter` has private fields, so we could potentially add more private fields in the future. Adding a generic parameter to `WordBreakSegmenter` would be...

Discussion 2021-03-12: - This component will need DataProvider and is unlikely to be useful outside the context of ICU4X - We will release this as an ICU4X utility, living in...