Hello Miguel,

Thanks for helping improving Gnoga.
I'll plan to add your patch in branche 1.3 but for now I'm stuck in a big issue 
with an upgrade of Simple Components up to version 4.22.

Regards, Pascal.
http://blady.pagesperso-orange.fr


> Le 30 août 2017 à 12:30, Miguel Angel Olivan <maoli...@fcirce.es> a écrit :
> 
> Dear gnoga folks,
> 
> I'm seeing some poor performance behavior in 
> Gnoga.Gui.Element.Create_From_HTMLwhen the created HTML is long enough (say 
> 1Mb in my computer) I use that to insert generated SVG inside the DOM.
> 
> Trying to understand what was going on, I tried with HTML of different sizes 
> and the there was a threshold value about 500Kb. The function procedure was 
> very poorly performant above that: it took more than one minute process 2Mb 
> generated HTML. A look inside the function revealed that most of the time was 
> consumed by Escape_Quotes, by the concatenation by assignation performed 
> there. Changing this reasignation by usingAda.Strings.Unbounded.Append solves 
> the issue making disappear the time lag. I attach the (very simple) patch for 
> your consideration. It works for me and I hope it was useful for everyone.
> 
> Many thanks,
> 
> Best Regards
> Miguel Oliván
> 
> 
> 
> <0001-Use-Ada.Strings.Unbounded.Append-instead-String-reas.patch>------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to