Nikita Popov

Results 517 comments of Nikita Popov

Do you have an example where this would be used? I'm wondering if it wouldn't be better to at least return which of the keys is the one that exists.

I'm assuming you're running unit tests with a CLI binary, so there's no web server or threading involved here, right?

FWIW I think it would be nice if apcu support cross-process on Windows, but based on Anatol's previous attempts to make this work, this seems to be more complicated than...

The relevant code has been removed in https://github.com/krakjoe/apcu/commit/998157ac57ffe768a4023f22f32886aba5bcbcbd (also based on random files). That could be brought back if there's motivation -- what is it that you want to do...

> If I wrote a PR to remove the old text referring to this ".shm", would you consider accepting it? Sure! There's probably more outdated stuff in there -- for...

Could you check if setting `apc.serializer=php` resolves this problem?

Also released new version that switches the default of apc.serializer and has a few other fixes.

The hard part about lock-less lists is not so much the algorithm itself, but the garbage collection mechanism. Unless we want to rely on heuristics like "if an item has...

@LionsAd This would still have the issue that between `entry = head` and `inc_ref(entry)`, the entry may have been deleted (and due to ABA checking for a pointer difference is...

I think this is a reasonable default behavior. As HT slots are very cheap right now (8 bytes) we could also increase this to something like 8k/32M or 16k/32M. If...