You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(setq longman-ins (clone fanyi-longman-provider))
(oset longman-ins :word"successful")
(fanyi--spawn longman-ins)
;; Wait until *fanyi* buffer has a longman section which means longman-ins has parsed the result.;;;; benchmark the render function.
(benchmark-run10 (fanyi-render longman-ins))
;;=> (0.150839075 0 0.0)
It costs 0.015s per render on my machine.
PS: switch to *fanyi* buffer will see 11 sections of longman dict. one is created by fanyi--spawn.
for some reason certain words takes long time to get the result displayed in buffer..
few examples:
The text was updated successfully, but these errors were encountered: