Re: [PATCH 0/3] ruby: get rid of Tags object

2023-04-02 Thread Felipe Contreras
On Sun, Apr 2, 2023 at 5:18 PM David Bremner wrote: > > Felipe Contreras writes: > > > We don't need a Tags enumerable object only for a small number of strings, > > we > > can just get them directly. > > > > This fixes an interaction problem where we might request two tags iterables > > from

Re: [PATCH 0/3] ruby: get rid of Tags object

2023-04-02 Thread David Bremner
Felipe Contreras writes: > We don't need a Tags enumerable object only for a small number of strings, we > can just get them directly. > > This fixes an interaction problem where we might request two tags iterables > from the same message: > > tags_0 = notmuch_message_get_tags(message); I

[PATCH 0/3] ruby: get rid of Tags object

2023-03-22 Thread Felipe Contreras
We don't need a Tags enumerable object only for a small number of strings, we can just get them directly. This fixes an interaction problem where we might request two tags iterables from the same message: tags_0 = notmuch_message_get_tags(message); // Store it for later tags_1 =