« first day (4495 days earlier)      last day (437 days later) » 

12:07 AM
Is the runtime_cache for user functions allocated proximate to anything, like the function itself? Or is it pretty much whatever is free next in the zend allocator?
 
@LeviMorrison Isn't the runtime_cache stored within the opcode?
 
I don't know. I'm soon going to start printing addresses in a debugger, if I can get this code worked out ^_^
If it's near or part of the op_array of the function, that would be fantastic. It would be more likely to be in CPU cache, and which makes sense, given its name, but you never know.
 
12:25 AM
I'm faily sure it is as there is some weird ass bug that if you are in a namespace and call a function that doesn't exist in it but in the global namespace, and then define it with eval, the runtime cache will continue to call the global one
 
@Girgias Ah, I'm not sure we're talking about the same cache. I'm talking specifically about the zend_get_op_array_extension_handles related things.
 
Ah, then no idea
 
12:42 AM
@LeviMorrison Nothing to be said about that at all. It might be near when there's just been an inclusion and that function is called immediately. It might be very far when a function is called first at the end of the process. And don't even get me started on opcache :-)
 
^_^
Maybe one day I'll implement some APIs to allow extensions to store things in opcache alongside the functions, and to "re-link" these when loaded from shared memory. Could be a nice caching strategy for a variety of things.
 
 
2 hours later…
3:11 AM
Does the UK have souvenir shops that sell keychains? Or basically anywhere that sells keychains?
 
3:30 AM
Or some kind of souvenir shop
 
 
7 hours later…
10:16 AM
@Tiffany Too many if you ask me :-)
 
 
4 hours later…
2:33 PM
@Tiffany Apparently, "9% of the UK's GDP is generated by tourism" so yes, there are 'a few' souvenir shops. Though tea-towels can also make good gifts if that's what you're looking for.
 
You can also play "drug front or sweet shop"
 
Por que no los dos?
 
(had to google that) but true
 
@Danack my sister requested a keychain
 
Have you figured out what sight seeing you're going to do?
 
2:42 PM
Not yet
Figured a rough plan for Tuesday
 
I just had the horrible realisation that the JSON api I am using was originally built for XML and rather than create a native JSON version, they're obviously generating XML and then converting it to JSON, and anything that looks like an int is getting converted to one... leading to "09" and 10 as days with different types. RIP auto hydration of DTOs
 

« first day (4495 days earlier)      last day (437 days later) »