[EMAIL PROTECTED] wrote: > Hello Yasuo, > > why invent the wheel again? SRM already supports something like this. As > soon as 4.2 is released I'm going to work on it again. > > Derick
I like SRM/msession :) I just need _very_ fast solution for static data that can be persistent at local machine. SRM/msession does great job for sharing data between servers, but it still needs a lot more overheads compare to module that I'm willing to write. With the module, virtually 0 overhead is required to initilize array for static data like large menu definition. I might be missing something, please let me know if I do. -- Yasuo Ohgaki > > On Wed, 10 Apr 2002, Yasuo Ohgaki wrote: > > >>It sounds like a lot of work is expected for msession. >>So, I'll write a simple one. >> >>[RFC for New Module] >>Module name: psv (Persistent Server Variable) >>Feature: >> Maintain auto global $_PERSISTENT array that persists >> on single server. >>Function: >> none. >> >>Implementtion: >> Shared memory (libmm) for multi-process server. >> Multi-thread server uses global with lock/unlock. >> >>Usage: >><?php >> >>if (!isset($_PERSISTENT['VAR'])) { >> include('register_very_large_array.inc'); >>} >> >>?> >> >>If you have any comments, especially if you have good names, >>please let me know. I probably write this module on this >>or next weekend. >> >>-- >>Yasuo Ohgaki >> >> >> >> >> >> >>-- >>PHP Development Mailing List <http://www.php.net/> >>To unsubscribe, visit: http://www.php.net/unsub.php >> > > > ----------------------------------------------------------------------- > Did I help you? Consider a gift: > http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B > ----------------------------------------------------------------------- > PHP: Scripting the Web - [EMAIL PROTECTED] > All your branches are belong to me! > SRM: Script Running Machine - www.vl-srm.net > ----------------------------------------------------------------------- > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php