Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-12 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Freitag, 11. April 2025 21:06 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Hi > > On Tue, Apr 08, 2025 at 09:30

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Freitag, 11. April 2025 21:06 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Hi > > On Tue, Apr 08, 2025 at 09:30

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-11 Thread Michael Niedermayer
On Tue, Apr 08, 2025 at 12:19:59PM +0200, Michael Niedermayer wrote: > Hi all > > As i have too many things to do already i did the most logic thing and > started thinking about a new and unrelated idea. > > This is a list of problems and ideas, that everyone is welcome to add to and > comment on

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-11 Thread Michael Niedermayer
Hi On Tue, Apr 08, 2025 at 09:30:16PM +, softworkz . wrote: [...] > To tell you the truth - at that point I was thinking: "Ah, clever! That's why > the AVDictionary is done like that" 😊 The dictionary implementation is not clever look at copy for example it iterates over av_dict_set() whic

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-10 Thread Nicolas George
Michael Niedermayer (HE12025-04-08): > As i have too many things to do already i did the most logic thing and > started thinking about a new and unrelated idea. > > This is a list of problems and ideas, that everyone is welcome to add to and > comment on. > > AVDictionary is just bad. A few note

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-10 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Donnerstag, 10. April 2025 10:40 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Michael Niedermayer (HE12025-04-08): > >

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-09 Thread Michael Niedermayer
On Tue, Apr 08, 2025 at 08:00:20PM -0400, Leo Izen wrote: > On 4/8/25 06:19, Michael Niedermayer wrote: > > Hi all > > > > As i have too many things to do already i did the most logic thing and > > started thinking about a new and unrelated idea. > > > > This is a list of problems and ideas, that

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Leo Izen
On 4/8/25 06:19, Michael Niedermayer wrote: Hi all As i have too many things to do already i did the most logic thing and started thinking about a new and unrelated idea. This is a list of problems and ideas, that everyone is welcome to add to and comment on. AVDictionary is just bad. * its c

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Gerion > Entrup > Sent: Mittwoch, 9. April 2025 00:18 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Am Dienstag, 8. April 2025, 22:29:37 Mitt

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Michael Niedermayer
Hi On Wed, Apr 09, 2025 at 12:18:10AM +0200, Gerion Entrup wrote: > Am Dienstag, 8. April 2025, 22:29:37 Mitteleuropäische Sommerzeit schrieb > Michael Niedermayer: > > On Tue, Apr 08, 2025 at 11:10:21AM -0500, Romain Beauxis wrote: > > > Le mar. 8 avr. 2025 à 05:20, Michael Niedermayer > > > a

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Gerion Entrup
Am Dienstag, 8. April 2025, 22:29:37 Mitteleuropäische Sommerzeit schrieb Michael Niedermayer: > On Tue, Apr 08, 2025 at 11:10:21AM -0500, Romain Beauxis wrote: > > Le mar. 8 avr. 2025 à 05:20, Michael Niedermayer > > a écrit : >> [...] > > * Any interest in storing multiple values for the same k

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 8. April 2025 21:45 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > On Tue, Apr 08, 2025 at 06:36:55PM

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Michael Niedermayer
On Tue, Apr 08, 2025 at 11:10:21AM -0500, Romain Beauxis wrote: > Le mar. 8 avr. 2025 à 05:20, Michael Niedermayer > a écrit : > > > > Hi all > > > > As i have too many things to do already i did the most logic thing and > > started thinking about a new and unrelated idea. > > > > This is a list o

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Michael Niedermayer
On Tue, Apr 08, 2025 at 06:36:55PM +, softworkz . wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Dienstag, 8. April 2025 20:16 > > To: FFmpeg development discussions and patches

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 8. April 2025 20:16 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Hi softworkz > > On Tue, Ap

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Michael Niedermayer
Hi softworkz On Tue, Apr 08, 2025 at 04:56:36PM +, softworkz . wrote: [...] > Hi Michael, > > it's been a while, but as far as memory serves, wasn't a linear search even > more efficient than other methods as long as we're dealing with no more than > a few dozens of items? a dozen is 12, s

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 8. April 2025 12:20 > To: FFmpeg development discussions and patches > Subject: [FFmpeg-devel] [RFC] AVDictionary2 > > Hi all > > As i have too many thing

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Romain Beauxis
Le mar. 8 avr. 2025 à 05:20, Michael Niedermayer a écrit : > > Hi all > > As i have too many things to do already i did the most logic thing and > started thinking about a new and unrelated idea. > > This is a list of problems and ideas, that everyone is welcome to add to and > comment on. > > AVD

[FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread Michael Niedermayer
Hi all As i have too many things to do already i did the most logic thing and started thinking about a new and unrelated idea. This is a list of problems and ideas, that everyone is welcome to add to and comment on. AVDictionary is just bad. * its complicated internally with unneeded alternat