Bukkit/CraftBukkit — comment on commit 6d198be88856379f14f70b8e2d1ace66bd6f1ab7
File: src/main/java/org/bukkit/craftbukkit/CraftChunk.java line 256
By HenryLoenwind:

I don't want to drag this out, as this code isn't even in the critical path, just what I would have done:

final whatever handle = world.getHandle();
for (int i = 0; i < 256; i++) {
biome[i] = handle.getBiome((x << 4) + (i & 0xF), (z << 4) + (i >> 4));