[Gambas-user] Long C routine

Jussi Lahtinen jussi.lahtinen at ...626...
Fri Jan 31 00:07:18 CET 2014


Did you make pre-run for JIT benchmark? Otherwise first run is slower than
subsequents... maybe it's insignificant.

Perhaps this works:
Pass callback function as an argument to your C lib (along with other
arguments), and call it when some proportion of the work is done (example
when variable i % 100 == 0). Write the callback in Gambas to refresh GUI
(WAIT command). However, these two things make the execution slightly
slower.

Jussi



On Fri, Jan 31, 2014 at 12:34 AM, martin p cristia <tercoide at ...67...>wrote:

> Just a FYI
>
> This is the benchmark result solving a ecuation system 1578 order (
> 1.309.782.606  operations)
>
> Gambas           147 seg
> Gambas+Fast    27 seg
> Gambas + C        2 seg
>
> So I still need the C library giving signs of life
>
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list