Skip to content

Plannable v9.2: More Internal Changes

Compare
Choose a tag to compare
@hanzhi713 hanzhi713 released this 21 Feb 06:33
· 72 commits to master since this release

Changes

  1. A time out of 5 seconds is added to requests to the backend. An error will be displayed instead of frozen at loading.
  2. The performance of similarity sorting is improved significantly (by at least 10x).
  3. If the fuzzy search yields no result, a text warning "Input too short or no results" will be shown to distinguish it from the starting page.

Internal Changes

  1. Some of the internal APIs are simplified.
  2. Some unit tests are rewritten.
  3. Searcher and ScheduleGenerator/Evaluator are ported to C++ to improve their performance and reduce overall code size. The way they were already written makes the porting very easy. Measured speed improvement is about 3x.
  4. Fuzzy search is moved from the worker thread to the main thread because it is much faster now and will not block the main thread long enough. This reduced the total code size by about 30kB. Relevant support code for WebWorker is removed.