Manifest of check-in
[a214d452fc]
-
* generic/tclBasic.c: Reworked the handling of bytecode literals
* generic/tclCompile.c: for #280 to fix the abysmal performance
* generic/tclCompile.h: for deep recursion, replaced the linear
* generic/tclExecute.c: search through the whole stack with
* generic/tclInt.h: another hashtable and simplified the data
structure used by the compiler (array instead of hashtable).
Incidentially this also fixes the memory leak reported via [Bug
2024937].
by
andreas_kupries on
2008-07-22 21:41:10.
B 40f723e2c02d71c7eaa2d914ed2d6d471a6f2f04
C \n\t*\sgeneric/tclBasic.c:\sReworked\sthe\shandling\sof\sbytecode\sliterals\n\t*\sgeneric/tclCompile.c:\sfor\s#280\sto\sfix\sthe\sabysmal\sperformance\n\t*\sgeneric/tclCompile.h:\sfor\sdeep\srecursion,\sreplaced\sthe\slinear\n\t*\sgeneric/tclExecute.c:\ssearch\sthrough\sthe\swhole\sstack\swith\n\t*\sgeneric/tclInt.h:\sanother\shashtable\sand\ssimplified\sthe\sdata\n\tstructure\sused\sby\sthe\scompiler\s(array\sinstead\sof\shashtable).\n\tIncidentially\sthis\salso\sfixes\sthe\smemory\sleak\sreported\svia\s[Bug\n\t2024937].\n
D 2008-07-22T21:41:10
F ChangeLog ac2b3e675944ff7cf6bebd4a31c2e68dbad1ee27
F generic/tcl.h 396971fc682e41ae9bcd0ecc8f2e8bc59cefe3cf
F generic/tclBasic.c 02e8a1d8d144809f0ca70faa9b3b29acb0ed996f
F generic/tclCompile.c a30fb1e3d688a12af4013718f81e6b197874502e
F generic/tclCompile.h 9ae5bfcd177e7e65cdb8eb55b974f2728354c54d
F generic/tclExecute.c 52d7943875961a29c09430031880294fd16f73be
F generic/tclInt.h 8cd9f88bf7e517735cbc9ceab5cc26f1d30cdf34
F tests/encoding.test e7953eb0ba7f2d9db5c9bce9840c952fdaea3956
F tools/genStubs.tcl 0b2036e904d5ca55c5182201d3e232b7cfcf9c2e
F unix/Makefile.in 342c174d37f5a075837a06f6119cbe741461a651
F win/Makefile.in 14757e19ed69ee2324791e12ebe396e6b190f569
P 3614b8fd64c51e7548141cb0a61cfff5e7c6eef8
U andreas_kupries
Z 3700c1ebbfeee3cebe58ae1ff7e6cace