goldendict-ng/src
xiaoyifang e5f91f6a3e
feat: use parallel thread to create the fts (#980)
* feat: use parallel thread to create the fts

* [autofix.ci] apply automated fixes

* feat: use parallel thread to create the fts

* feat: add an option to control the thread count when create the fulltext

* [autofix.ci] apply automated fixes

* feat: set default parallel thread count to half the cpu numbers

* feat: initialize the default parallel threads to 1/3 of cpu cores

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 22:50:32 +08:00
..
common [autofix.ci] apply automated fixes 2023-07-20 08:05:17 +00:00
dict [autofix.ci] apply automated fixes 2023-07-20 08:05:17 +00:00
macos clean: reformat everything 2023-07-20 04:02:22 -04:00
scripts [autofix.ci] apply automated fixes (attempt 2/3) 2023-07-15 14:04:52 +08:00
stylesheets feat: use "Fusion" style on macOS by default and add option to switch between styles on Linux & macOS (#986) 2023-07-20 20:10:44 +08:00
ui feat: use parallel thread to create the fts (#980) 2023-07-20 22:50:32 +08:00
ankiconnector.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
ankiconnector.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
article_maker.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
article_maker.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
article_netmgr.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
article_netmgr.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
audiolink.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
audiolink.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
audiooutput.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
audiooutput.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
audioplayerfactory.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
audioplayerfactory.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
audioplayerinterface.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
btreeidx.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
btreeidx.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
chunkedstorage.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
chunkedstorage.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
config.cc feat: use parallel thread to create the fts (#980) 2023-07-20 22:50:32 +08:00
config.hh feat: use parallel thread to create the fts (#980) 2023-07-20 22:50:32 +08:00
decompress.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
decompress.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
delegate.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
delegate.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
dictzip.c clean: reformat everything 2023-07-20 04:02:22 -04:00
dictzip.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
externalaudioplayer.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
externalaudioplayer.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
externalviewer.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
externalviewer.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
ffmpegaudio.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
ffmpegaudio.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
ffmpegaudioplayer.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
ftshelpers.cc feat: use parallel thread to create the fts (#980) 2023-07-20 22:50:32 +08:00
ftshelpers.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
fulltextsearch.cc feat: use parallel thread to create the fts (#980) 2023-07-20 22:50:32 +08:00
fulltextsearch.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
gestures.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
gestures.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
headwordsmodel.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
headwordsmodel.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
history.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
history.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
hotkeywrapper.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
hotkeywrapper.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
iframeschemehandler.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
iframeschemehandler.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
indexedzip.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
indexedzip.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
initializing.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
initializing.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
instances.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
instances.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
keyboardstate.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
keyboardstate.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
langcoder.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
langcoder.hh clean: remove unnecessary header includes 2023-05-30 20:59:51 +08:00
language.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
language.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
main.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
metadata.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
metadata.hh feat(metadata): abstract metadata loader 2023-04-30 14:42:49 +08:00
multimediaaudioplayer.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
multimediaaudioplayer.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
parsecmdline.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
parsecmdline.hh refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
pronounceengine.cc fix: pronounce the first dictionary audio if availabe (#981) 2023-07-18 07:57:02 +08:00
pronounceengine.hh fix: pronounce the first dictionary audio if availabe (#981) 2023-07-18 07:57:02 +08:00
resourceschemehandler.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
resourceschemehandler.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
speechclient.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
speechclient.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
splitfile.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
splitfile.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
termination.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
termination.hh refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
texttospeechsource.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
texttospeechsource.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
tiff.cc refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
tiff.hh refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
version.cc feat: add -v --version flag to CLI 2023-06-17 05:00:05 -04:00
version.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
webmultimediadownload.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
webmultimediadownload.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
weburlrequestinterceptor.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
weburlrequestinterceptor.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
wordfinder.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
wordfinder.hh clean: reformat everything 2023-07-20 04:02:22 -04:00
zipfile.cc clean: reformat everything 2023-07-20 04:02:22 -04:00
zipfile.hh clean: reformat everything 2023-07-20 04:02:22 -04:00