From: jima <ji...@gm...> - 2012-08-28 09:53:11
|
Could the recent comp.lang.tcl proposal by Kristoffer (Setok) on a way to speed [lreplace] by adding an "interpretation layer" to the way Tcl_Obj's are handled as lists be related? Just a thought. Regards. jima 2012/8/28 Alexandre Ferrieux <ale...@gm...> > On Tue, Aug 28, 2012 at 11:36 AM, Donal K. Fellows > <don...@ma...> wrote: > > > > The real issue is that you're going to have to check all the uses of > > tclListType and the List structure within Tcl itself to see where they > > need teaching about the new type as well. > > Yes, I encountered the same issue when playing with the Cons type > (efficient Lisp-like pairs implemented as a scalar Tcl_Obj). > > Clearly the core would benefit from a more abstract access to lists > ... but so far it seems we have always shied away because of the > potential perf hit (wrt the current direct-access scheme). > > What a dilemma. > > -Alex > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core > |