[Ohrrpgce] more global variables?

James Paige Bob at HamsterRepublic.com
Tue Feb 7 18:16:06 PST 2012


On Wed, Feb 08, 2012 at 02:04:23PM +1300, Ralph Versteegen wrote:
> More globals? Are you up to something? :)

I was just talking to Pepsi Ranger about how many globals he needed for 
a planned feature in Entreprenuer, and when I tried to think of the 
reasons why adding more globals was a difficult or bad-for-backcompat 
thing to do, I simply couldn't think of any :)

> On 8 February 2012 13:33, Adam Perry <arperry at gmail.com> wrote:
> > The downside is that you did not do it earlier.
> 
> Of admitting that 4096 is not enough, that is.
> 
> I still have a game (Pheoret) which IIRC used ~6000 globals by using
> export/import globals. So yes, 4096 is not enough.

I'm gonna increase them to 16383 for now. I might also think about 
starting the buffer small and only growing it if you actually write to 
it, but that can come later.

---
James



More information about the Ohrrpgce mailing list