Hello,
I have a friend here in Brazil that added the `notify` support to the FGL
lists, however he sented it to this Github PR [1].
I'm contacting him to explain how to send it to FPC bugtracker, so you can
disconsider this PR at Github. :-)
Thank you!
[1]
https://github.com/fabianosalles/freep
On 19/02/2016 20:20, fpc-pascal-requ...@lists.freepascal.org wrote:
Date: Fri, 19 Feb 2016 14:24:30 +0100
From: Sven Barth
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] [PATCH] Addition of OnNotify event on
"TFPGObjectList" and "TFPGList" triggered on th
Am 19.02.2016 12:45 schrieb "silvioprog" :
>
> Hello,
>
> I have a friend here in Brazil that added the `notify` support to the FGL
lists, however he sented it to this Github PR [1].
I'm against that. That would negatively impact the performance of these
lists.
Regards,
Sven
_
On Fri, Feb 19, 2016 at 10:24 AM, Sven Barth
wrote:
> Am 19.02.2016 12:45 schrieb "silvioprog" :
> >
> > Hello,
> >
> > I have a friend here in Brazil that added the `notify` support to the
> FGL lists, however he sented it to this Github PR [1].
>
> I'm against that. That would negatively impact
Am 19.02.2016 14:45 schrieb "silvioprog" :
>
> On Fri, Feb 19, 2016 at 10:24 AM, Sven Barth
wrote:
>>
>> Am 19.02.2016 12:45 schrieb "silvioprog" :
>> >
>> > Hello,
>> >
>> > I have a friend here in Brazil that added the `notify` support to the
FGL lists, however he sented it to this Github PR [1]
On Fri, Feb 19, 2016 at 4:20 PM, Sven Barth
wrote:
[...]
> It doesn't matter whether it is requested over here or on Mantis. I'm
> against adding notifications to the generic lists, because that will
> degrade their performance.
>
Can you send little bit sample showing this degradation? I can inf
Am 19.02.2016 20:47 schrieb "silvioprog" :
>
> On Fri, Feb 19, 2016 at 4:20 PM, Sven Barth
wrote:
> [...]
>
>> It doesn't matter whether it is requested over here or on Mantis. I'm
against adding notifications to the generic lists, because that will
degrade their performance.
>
> Can you send litt
On 2016-02-19 23:04, Sven Barth wrote:
> There's no need for a sample. This degradation is the whole reason why the
> non-generic classes TFPObjectList and TFPList exist compared to TObjectList
> and TList which do have notifications.
I don't use Generics so it doesn't bother me either way. But pu
>> Can you send little bit sample showing this degradation? I can inform him
>> to not send the patch because this problem. (I think that him isn't
>> registered here in the list yet)
>
> There's no need for a sample. This degradation is the whole reason why the
> non-generic classes TFPObjectList
Notifications events already works in Generics.Collections. ;P
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Am 20.02.2016 08:55 schrieb "Maciej Izak" :
>
> Notifications events already works in Generics.Collections. ;P
>
Which reminds me that I wanted to work on integrating them...
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
On Sat, 20 Feb 2016, Michalis Kamburelis wrote:
Can you send little bit sample showing this degradation? I can inform him
to not send the patch because this problem. (I think that him isn't
registered here in the list yet)
There's no need for a sample. This degradation is the whole reason wh
Hi That always keeps me wondering - why neither FPC, no any other mainstream static-type language implements specialization based not only on types, but on compile-time constants as well? I mean something like TGenericList = class ... end; procedure TGenericList.Delete(index:integer);begin i
20.02.2016, 02:05, "Sven Barth" :
> There's no need for a sample. This degradation is the whole reason why the
> non-generic classes TFPObjectList and TFPList exist compared to TObjectList
> and TList which do have notifications.
>
> Regards,
> Sven
/ My previous mail appeared to be in html form
On 2016-02-20 05:05, Michalis Kamburelis wrote:
> So I would not reject the idea so quickly. But it indeed should be
> implemented carefully
And it will take 5-10 minutes to write some unit tests to see exactly
what speed penalty would occur. Why guess or assume. Write some unit
tests and get th
>> Right now we only have "with notifications, and not type-safe"
>> containers (TObjectList/TList) and "without notifications, and
>> type-safe using generics" containers (TFPObjectList/TFPList).
>
>
> These latter 2 are not generics based. There was some experimental code
> which attempted to im
Am 20.02.2016 11:33 schrieb "denisgolovan" :
>
> Hi
>
> That always keeps me wondering - why neither FPC, no any other mainstream
static-type language implements specialization based not only on types, but
on compile-time constants as well?
>
Then you don't consider C++ as mainstream, do you?
> I
21.02.2016, 02:59, "Sven Barth" :
> Then you don't consider C++ as mainstream, do you?
>
> Regards,
> Sven
Hm. Looks like C++ actually does that and that's great.
Unfortunately I stopped using C++ for large projects about 12 years ago, so my
C++ template knowledge must be too old :)
> I had t
18 matches
Mail list logo