Note that there are some explanatory texts on larger screens.

plurals
  1. USNimrand
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COActually, it does matter what order you access the array members from a page faulting standpoint. If you don't access the memebers of the array contiguously, you end up jumping to a different page on each iteration of the inner loop, which makes it more likely that you will fault on the same page multiple times (i.e., the system unloads the first page as you move through the other 15 pages, and then faults when you access the first page again). On today's memory-rich systems, I'm guessing that it is unlikely to happen in practice with this very simple example program, however.
      singulars
    2. COTo make the point more general, anonymous types are a convience that can be used when a type is only used in a single place in your code and never needs to be referenced by name. You're doing something that references your type by name, and so therefor you can't use an anonymous type.
      singulars
    3. COIf I understand correctly, in your example above, the type positionSpace.SubPositionSpace.Position is exactly the same type as positionSpace.Position. However, what I really want is for it to be like a subtype of positionSpace.Position, not the same as, because there are situations where only a positionSpace.SubPositionSpace.Position would be applicable. But, I don't believe I can have an object that is both an instance of positionSpace.Position and positionSpace.SubPositionSpace.Position. Hence, I was trying to do it through implicit conversions.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload