summary refs log tree commit diff stats
path: root/tests/dll
diff options
context:
space:
mode:
authorViktor Kirilov <vik.kirilov@gmail.com>2019-03-23 15:48:47 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-03-23 14:48:47 +0100
commitf8146dfd845e8d9a8f19ae59ef9c9350cd9db453 (patch)
tree44c10936f119d2090a403d62f97c39ef185af1bc /tests/dll
parent0b2a3f6f7f7dfc40e08d287f41f7ce7c2e51fd9c (diff)
downloadNim-f8146dfd845e8d9a8f19ae59ef9c9350cd9db453.tar.gz
improvements on the hot code reloading support (#10892)
* calling the "_actual" versions of functions when defined within the same module - slowdown for the snappy compression is now down from x6 to x4-x5 when HCR is ON
* dynamically linking to the runtime for VS when HCR is on - binaries are smaller
* compilerProcs are also called using the _actual direct version within the module they are defined (system)!
* updated comments & goals
* handling VS-compatible compilers on Windows in a cleaner way
* now the .dll/.so files end up in the nimcache even when --nimcache isn't explicitly stated
Diffstat (limited to 'tests/dll')
-rw-r--r--tests/dll/nimhcr_integration.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dll/nimhcr_integration.nim b/tests/dll/nimhcr_integration.nim
index daabe918f..40ba90f72 100644
--- a/tests/dll/nimhcr_integration.nim
+++ b/tests/dll/nimhcr_integration.nim
@@ -72,7 +72,7 @@ done
 ## executing:
 ##   <this_file>.exe nim c --hotCodeReloading:on --nimCache:<folder> <this_file>.nim
 
-import os, osproc, times, strutils, hotcodereloading
+import os, osproc, strutils, hotcodereloading
 
 import nimhcr_0 # getInt() - the only thing we continually call from the main module