Hi! >> we only need do it in master process, and mark as interned(with hash >> precalculated), no write will be happened, so thanks to COW on fork, we >> won't need lots of extra memory. >> > > It's not true for Windows. > On Linux we would copy arg_info from shared read-only segment into process > heap memory, then some blocks may be COW or not depended on luck.
How bad would it be? Given that significantly simplifies the code, and does not require to check and write two branches each time we deal with arginfo, maybe it is worth to spend some memory (given that we only spend it once on init)? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php