@Override
	public long getIndex(Address addr) {
		AddressSpace space = addr.getAddressSpace();
		int id = space.getSpaceID();
		if (spaceLookup.get(id) == null) {
			spaceLookup.put(id, space);
		}
		long value = (long) id << 48;

		value += addr.getOffset();
		return value;
	}
@see ghidra.program.model.address.AddressFactory#getAddress(java.lang.String)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/DefaultAddressFactory.java