Hi, this is my first Elixir suggestion! For using Registry as an in-memory database that's tied to many actor processes, it would be nice to be able to stream selections to perform batch operations without loading large amounts of data into memory all at once.
I propose adding a Registry.select/3 that would look like: `select(registry <https://hexdocs.pm/elixir/Registry.html#t:registry/0>(), spec <https://hexdocs.pm/elixir/Registry.html#t:spec/0>(), limit :: pos_integer()) :: Stream.t()` The limit argument would provide an `:ets` select limit (as this would affect the granularity of our memory consumption). The implementation would return a stream that could return data across the underlying partitions transparently. Thanks, Scott Southworth -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/5aac28b9-2809-49f9-80b4-bae6de7d9df3n%40googlegroups.com.
