News for hackers. Stuff that matters.
Re:Redis array: short story of a long development process by sylvinus on Monday May 04, 2026 @01:03PM (#48011498)
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!

Re:Redis array: short story of a long development process by antirez on Monday May 04, 2026 @01:09PM (#48011585)
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.
Re:Redis array: short story of a long development process by simonw on Monday May 04, 2026 @01:19PM (#48011752)
Are there other existing Redis data types and features that might benefit from integrating TRE?
Re:Redis array: short story of a long development process by antirez on Monday May 04, 2026 @01:27PM (#48011873)
KEYS comes immediately to mind :)