大约有 16,380 项符合查询结果(耗时:0.0276秒) [XML]
Conditional Variable vs Semaphore
When should one use a semaphore and when should one use a conditional variable (CondVar) ?
6 Answers
...
Structs versus classes
I'm about to create 100,000 objects in code. They are small ones, only with 2 or 3 properties. I'll put them in a generic list and when they are, I'll loop them and check value a and maybe update value b .
...
Good MapReduce examples [closed]
I couldn't think of any good examples other than the "how to count words in a long text with MapReduce" task. I found this wasn't the best example to give others an impression of how powerful this tool can be.
...
MySQL indexes - what are the best practices?
I've been using indexes on my MySQL databases for a while now but never properly learnt about them. Generally I put an index on any fields that I will be searching or selecting using a WHERE clause but sometimes it doesn't seem so black and white.
...
TCP: can two different sockets share a port?
This might be a very basic question but it confuses me.
5 Answers
5
...
How to determine CPU and memory consumption from inside a process?
I once had the task of determining the following performance parameters from inside a running application:
9 Answers
...
When are you truly forced to use UUID as part of the design?
...ollision is effectively nil , but effectively nil is not even close to impossible.
16 Answers
...
Undo a merge by pull request?
Someone accepted a pull request which they shouldn't have. Now we have a bunch of broken code merged in. How do you undo a pull request? I was just going to revert the changes to the commit just before the merge, but I noticed that it merged in a bunch of commits. So now there are all these commits ...
Why does modern Perl avoid UTF-8 by default?
I wonder why most modern solutions built using Perl don't enable UTF-8 by default.
7 Answers
...
What does multicore assembly language look like?
Once upon a time, to write x86 assembler, for example, you would have instructions stating "load the EDX register with the value 5", "increment the EDX" register, etc.
...
