commit
fcce536ea0
2 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ is triggered.
|
||||||
Time measurement
|
Time measurement
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
The GC's way of measing time uses (see ``lib/system/timers.nim`` for the
|
The GC's way of measuring time uses (see ``lib/system/timers.nim`` for the
|
||||||
implementation):
|
implementation):
|
||||||
|
|
||||||
1) ``QueryPerformanceCounter`` and ``QueryPerformanceFrequency`` on Windows.
|
1) ``QueryPerformanceCounter`` and ``QueryPerformanceFrequency`` on Windows.
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ For the purposes of code generation, all static params are treated as
|
||||||
generic params - the proc will be compiled separately for each unique
|
generic params - the proc will be compiled separately for each unique
|
||||||
supplied value (or combination of values).
|
supplied value (or combination of values).
|
||||||
|
|
||||||
Furthermore, the system module defines a `semistatic[T]` type than can be
|
Furthermore, the system module defines a `semistatic[T]` type that can be
|
||||||
used to declare procs accepting both static and run-time values, which can
|
used to declare procs accepting both static and run-time values, which can
|
||||||
optimize their body according to the supplied param using the `isStatic(p)`
|
optimize their body according to the supplied param using the `isStatic(p)`
|
||||||
predicate:
|
predicate:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue