Req #74620 [Com]: new function pls
| From: | mags at inbox dot ru | Date: | Mon, 22 May 2017 13:34:41 +0000 |
| Subject: | Req #74620 [Com]: new function pls | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-209223@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74620&edit=1
ID: 74620
Comment by: mags at inbox dot ru
Reported by: mags at inbox dot ru
Summary: new function pls
Status: Wont fix
Type: Feature/Change Request
Package: *General Issues
Operating System: linux
PHP Version: Next Major Version
Block user comment: N
Private report: N
New Comment:
That improvement require special flag in to exclude that array from garbage collection,
Previous Comments:
------------------------------------------------------------------------
[2017-05-22 12:59:52] spam2 at rhsoft dot net
Status: Wont fix
while i am not a php upstream-developer: PLEASE stop it - you have to realize that such border cases
don't belong into the core of a programming language
frankly you even don't gasp the implication if more than one vhost is running on the same
server and unlrelated scripts modify a shared data ressource, not speaking abotu the security
implication
when you need such a feature either write a php-extension in C/C++ and/or consider your application
design broken from the start
------------------------------------------------------------------------
[2017-05-22 12:55:32] mags at inbox dot ru
variant 2 for hard use
to get "inplace array constructor" from mmap resource.
So I would preload and fill such array once and reuse in each instance of a script on same server.
------------------------------------------------------------------------
[2017-05-22 10:26:08] mags at inbox dot ru
"spam2 at rhsoft dot net "
if i wanna google map or game server
"your application design is broken" ? realy?
or PHP need +1 global array and all ok?
------------------------------------------------------------------------
[2017-05-22 08:52:07] spam2 at rhsoft dot net
your application design is broken - learn about databases, indexes and so on
------------------------------------------------------------------------
[2017-05-22 08:45:44] mags at inbox dot ru
Imagine you need to find a way between two cities in a large graph for example Google maps where
millions of cities.
You do not need data about all cities. If there is a common array this is easy, you immediately look
for it on the path. If the memcashed database or something else you load all the cities for a very
long time.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=74620
--
Edit this bug report at https://bugs.php.net/bug.php?id=74620&edit=1