experimental compile-time rope formatting code
This commit is contained in:
parent
e6f3f46cd9
commit
f644e3079f
3 changed files with 102 additions and 4 deletions
|
|
@ -501,3 +501,8 @@ proc MainCommand =
|
|||
formatFloat(epochTime() - gLastCmdTime, ffDecimal, 3),
|
||||
formatSize(getTotalMem())])
|
||||
|
||||
echo "rope cache stats: "
|
||||
echo " tries : ", gCacheTries
|
||||
echo " misses: ", gCacheMisses
|
||||
echo " efficiency: ", formatFloat(1-(gCacheMisses.float/gCacheTries.float), ffDecimal, 3)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue