Menu

#102 Subcorpus frequency list speed

1.0
closed
S Luz
0
2025-03-13
2025-03-11
Jan
No

Frequency lists for subcorpora load slowly. Can subcorpus frequency lists be cached on the server?

Discussion

  • Pedro Lolas

    Pedro Lolas - 2025-03-13
    • labels: --> feature request, Bug
    • status: open --> closed
     
  • Pedro Lolas

    Pedro Lolas - 2025-03-13

    These changes improve how the server processes and stores client requests. First, they fix a small mistake where the request string was modified twice unnecessarily. Now, the code extracts the query parameters from a request. It also keeps a copy of the original request before decoding it, which can be helpful if the server needs to refer back to the raw data.

    A new method was added to generate filenames for caching requests. It allows an optional hashing function to create virtually unique filenames, reducing the chances of conflicts when storing data. While the caching function is available on both webcli and webcli-dev, the correction of the request string is only available on webcli-dev for the moment.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.