Re: [Plib-devel] psl copy constructor.
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-04-20 12:01:41
|
Jonathan Wheare wrote: > I thought about doing a reference count and could implement it for the > pslCompiler class fairly easily, but there is also a static array of > type pslOpcode containing the bytecode, I've thought about wrapping it > in a class or making it a part of pslCompiler, but that would require > changing all the references in the pslProgram class to be indirect. We need to be careful around the bytecode stuff because it would be very easy to introduce something that would clobber performance. Reading the bytecode array happens at the innermost levels of the runtime interpreter - so tread VERY carefully! ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |