[sword-svn] [JIRA] (API-215) All files in locale are read not only those ending with .conf

Troy A. Griffitts scribe at crosswire.org
Sat May 25 13:36:47 MST 2019


You're joking, right?

On 5/25/19 11:33 AM, refdoc at gmx.net wrote:
> I presume, as the most constructive end of this discussion, a README
> file in the locale.d folder, explaining the format and holding a
> warning not to keep extraneous files here would be the best. I will
> add this asap. At least the beginnings of one.
>
> Sent from my mobile. Please forgive shortness, typos and weird
> autocorrects.
>
>
> -------- Original Message --------
> Subject: [sword-svn] [JIRA] (API-215) All files in locale are read not
> only those ending with .conf
> From: "Troy A Griffitts (JIRA)"
> To: sword-cvs at crosswire.org
> CC:
>
>
>     Message Title
>     	Troy A Griffitts
>     <http://tracker.crosswire.org/secure/ViewProfile.jspa?name=scribe>
>     *commented* on Bug API-215
>     <http://tracker.crosswire.org/browse/API-215>
>
>      
>     Re: All files in locale are read not only those ending with .conf
>     <http://tracker.crosswire.org/browse/API-215>
>
>     Hi Cyrille
>     <http://tracker.crosswire.org/secure/ViewProfile.jspa?name=lafricain>. 
>     I could simply add a check when iterating filenames to be sure the
>     file ends with .conf, but this was probably removed during an
>     optimization phase.  When initializing SWORD, a ton a .conf files
>     are read, including all the locale files, and uilocale files for
>     the frontend and also all the module .conf file.  This can create
>     a startup time of over a second, depending on the hardware running
>     the software.  This might not seem like much, but consider a
>     command line tool running in a loop, if each iteration takes over
>     a second, this can be extremely inefficient.  I am sad you had to
>     struggle with this for a few hours.  I understand that can be
>     frustrating-- especially if it seems like it could have been
>     easily prevented with a simple check.  I hope this gives even a
>     little peace as to why this check isn't in place.  Thank you for
>     your time and service together with us at CrossWire.  You are very
>     appreciated.
>
>     Add Comment
>     <http://tracker.crosswire.org/browse/API-215#add-comment> 	Add
>     Comment <http://tracker.crosswire.org/browse/API-215#add-comment>
>
>      
>
>     This message was sent by Atlassian JIRA (v7.7.0#77001-sha1:3be3151) 	
>     Atlassian logo
>
>
> _______________________________________________
> sword-cvs mailing list
> sword-cvs at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-cvs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-cvs/attachments/20190525/38754b2a/attachment-0001.html>


More information about the sword-cvs mailing list