[rkward] [Bug 380580] Speed up assignments in globalenv()

Thomas Friedrichsmeier bugzilla_noreply at kde.org
Sat Apr 7 19:58:38 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=380580

--- Comment #4 from Thomas Friedrichsmeier <thomas.friedrichsmeier at ruhr-uni-bochum.de> ---
Git commit 92d979a868706ac5b17226a5a939c96559fce09e by Thomas Friedrichsmeier.
Committed on 07/04/2018 at 19:57.
Pushed by tfry into branch 'work/faster_watch'.

Make object modification detection faster (step 1).

This first step avoids get and assign calls. Results in ~30% less time taken on
a simple testcase:
  system.time(for (i in 1:100000) x <- i)
(with x and i being watched symbols).

TODO: Adjust code for "unwatching".
Next step will be to avoid the .Call().

M  +5    -4    rkward/rbackend/rkrbackend.cpp
M  +4    -6    rkward/rbackend/rpackages/rkward/R/internal.R

https://commits.kde.org/rkward/92d979a868706ac5b17226a5a939c96559fce09e

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the rkward-devel mailing list