good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
SWI-Prolog is a *blindingly* fast application component.by Steve_BZ (Chaplain) |
on Feb 03, 2010 at 12:37 UTC ( [id://821143]=perlmeditation: print w/replies, xml ) | Need Help?? |
Hi All I'm developing a real-time multimedia application on Linux using WxPerl, Firebird, ffmpeg and SWI-Prolog (interfaces all available from CPAN). Performance is important and not always easy to achieve, but I would like to point out something which is not widely advertised (or at least if it is, I've missed it). My GUI interface is completely dynamic and changes with every record selection or button depression. Seeing this done in most environments you have to pause your mouse, think "may the force be with you" and mentally force the new GUI environment to refresh by will-power alone. However, what I didn't expect was that my Prolog based decision-making would be so awe-inspiringly fast, I'm not just getting sub-second response-time, but milli-second response times. At the start-up of the application, pretty much the whole standing data model is loaded into Prolog (ie into memory) and the rest, as they say, is history. If performance is an issue, or if you just want to be impressed, this is well worth trying. Regards Steve
Back to
Meditations
|
|