Skip to content
Tcl Source Code Artifact [3417d8dd48]
Login

Artifact [3417d8dd48]

Artifact 3417d8dd48f353690d5129cb11c8200f5d8e2795:

Ticket change [3417d8dd48] - Ticket [32c5740a4d3e86b1|32c5740a4d] <i>Undesirable [lappend] performance as LIST_MAX is reached</i> status still Open with 3 other changes by dgp on 2015-11-19 16:59:26.
D 2015-11-19T16:59:26.314
J icomment \r\nThe\sfirst\sproblem\swith\sthis\sdemo\sis\sthe\sdemands\r\nit\smakes.\s\sIn\sorder\sto\ssee\sthe\sdemonstration,\sa\r\nlist\sof\s~400M\selements\sis\sneeded.\s\sAs\swritten\seach\r\nelement\shas\sa\sunique\svalue\swhich\srequires\s8\sbytes\r\nfor\sthe\spointer,\s32\sbytes\sfor\sthe\sTcl_Obj\sstruct,\r\nand\sabout\s20\sbytes\sfor\sthe\sstring\svalue.\sThis\smeans\r\na\sminimum\sof\s~24G\sof\sactive\sRAM\sis\sneeded\sjust\sto\s\r\nrun\sthe\sdemo.\s\sSuch\ssystems\sare\snot\suncommon,\sbut\r\nthey're\snot\syet\sthe\snorm,\sI'd\ssay,\sand\sin\sfact\smy\r\neveryday\sdevelopment\ssystem\slacks\senough\smemory.\r\nSince\sit's\sa\slinux\ssystem,\sall\sI\sget\sis\sdeath\r\nby\sOOMKiller.\r\n\r\nI\sbelieve\sthe\skey\sdemonstration\sdoesn't\sneed\sunique\r\nelement\svalues,\sjust\sa\slong\slist,\sso\sI\sedit\sthe\r\nlappend\scommand\sto\sbe:\r\n\r\nlappend\smy_list\sA\r\n\r\nThis\smakes\sa\slist\sof\s400M\selements,\sbut\sthey\sare\sall\r\nthe\ssame\selement,\sso\swe\snow\sonly\srequire\s~4G\sto\sdemo\r\nthe\sproblem.\s\sMany\smore\sfolks\scan\slook\sat\sthat.
J login dgp
J mimetype text/plain
K 32c5740a4d3e86b1973915d92f07d5aee6104a14
U dgp
Z 3148daa65ad36e55d27bef38943eca32