Hey David,

It's hard to say without knowing what calls you're making to the API, but yes, it's likely you're doing something not in the optimal way. My first guess is that you are calling an external program repeated to get results. SWORD has an initialization hit when it first is accessed-- finding all modules, loading locales, etc. Once initialized, calls should be very fast, but if you are launching an external program over and over, the engine is initializing on each call. Maybe not what you're doing, but without more info, that's my best shot.
Hope we can get you running fast.

Troy



On 02/21/2015 07:16 PM, David "Judah's Shadow" Blue wrote:
So I'm working on a console based front-end, and I'm noticing some slowness in displaying a text. Possibly a second or less, but definitely noticeable. Is there something I may be doing wrong?
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above pagess is
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to