Environment: Solaris 2.5.1, gcc
The following script chews up cycles (as expected) as well as memory
(megabytes every few seconds).
Does anyone know why?
======================================================================
import os
while 1:
os.environ['FOO'] = 'BAR'
======================================================================
--
Greg McFarlane: INMS Telstra Australia (gregm@iname.com)
Today's forecast: Sunny, with occasional cloudy periods and a chance
of rain in some areas.
The following script chews up cycles (as expected) as well as memory
(megabytes every few seconds).
Does anyone know why?
======================================================================
import os
while 1:
os.environ['FOO'] = 'BAR'
======================================================================
--
Greg McFarlane: INMS Telstra Australia (gregm@iname.com)
Today's forecast: Sunny, with occasional cloudy periods and a chance
of rain in some areas.