Remix.run Logo
sylvinus 2 hours ago

Thanks for the write up. Always interesting to see how very senior developers interact with AI these days.

@antirez: Introducing a regex feature that late into the project for a seemingly unrelated feature feels a bit weird? Can you explain more your rationale on that? thanks!

antirez 2 hours ago | parent [-]

Once I realized arrays were a great fit for text files, many use cases I could conceive were always limited by the fact we need to grep on files. So I thought: what is the AROP equivalent for files? ARGREP. Then I made sure to add both fast, exact and regexp matching so that depending on the use case the best tool could be used. I then discovered that for many OR-ed strings regexps could be the faster way if we'll optimized. And then I specialized TRE a bit.

simonw 2 hours ago | parent [-]

Are there other existing Redis data types and features that might benefit from integrating TRE?

antirez an hour ago | parent [-]

KEYS comes immediately to mind :)