April 28, 2020 Re: GtkD - how to list 0..100K strings | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | On Tuesday, 28 April 2020 at 18:46:18 UTC, Kagamin wrote:
> Try this:
>
> void populate(NameAndDescription[] namesAndDescriptions) {
> if(namesAndDescriptions.length>100)namesAndDescriptions=namesAndDescriptions[0..100];
> innerView.viewData.populate(namesAndDescriptions);
> }
I tried that and it worked fine. So I then used a binary chop and discovered that 0..n where n <= 1170 works fine; n > 1170 crashes.
I'm not sure where that takes me but seems suggestive that the problem is Gtk or GtkD rather than my code?
|
April 29, 2020 Re: GtkD - how to list 0..100K strings | ||||
---|---|---|---|---|
| ||||
Posted in reply to mark | Continuing this in the GtkD mailing list: https://forum.gtkd.org/groups/GtkD/thread/1370/ |
Copyright © 1999-2021 by the D Language Foundation