1461086883-dce8b5fd-f06d-4444-85f4-67c00bbd6b72

1. A wireless device, comprising:
a processor; and
a nonvolatile memory having a memory bit swap encoder to characterize code received from the processor to find a dominant level for the code to be stored in a region of the nonvolatile memory where the swap encoder substitutes a swapped level with the dominant level before storage to reduce programming time.
2. The wireless device of claim 1 further including the swap encoder substitutes the swapped level with the dominant level before storage to reduce programming current.
3. The wireless device of claim 1 wherein the region of the nonvolatile memory further includes at least two additional memory bits to retain information about the swapped level.
4. The wireless device of claim 3 wherein the memory bit swap encoder further maps each threshold voltage range of the characterized code to optimize programming times in storing the code in the region of the nonvolatile memory.
5. The wireless device of claim 4 where a program operation stores the code in the region of the nonvolatile memory using the substituted swapped level for the dominant level and a read operation restores the code using the at least two additional memory bits.
6. A wireless device comprising:
multiple antennas to receive an over-the-air signal;
a transceiver to receive a modulated signal from the multiple antennas;
a processor coupled to the transceiver; and
a bit swap encoder to characterize programming code executed by the processor to determine a dominant level for a set memory region, where the bit swap encoder substitutes a level having a programming time that is less than a programming time associated with the dominant level to program the set memory region.
7. The wireless device of claim 6 wherein the level having a programming time that is less than a programming time associated with the dominant level is an erase level.
8. The wireless device of claim 6 wherein the dominant level is one of four threshold voltage ranges.
9. The wireless device of claim 6 wherein the level is an erase level having a programming time that is less than a programming time associated with the dominant level.
10. A wireless device comprising a nonvolatile memory having a memory bit swap encoder to characterize code before storage in a memory region to determine a dominant level and swapping the dominant level with a swapped level selected to reduce programming time.
11. The wireless device of claim 10 wherein the swapped level is an erase level having a programming time that is less than a programming time associated with the dominant level.
12. The wireless device of claim 11 wherein the memory region of the nonvolatile memory further includes at least two additional memory bits to retain mapping information about the swapped level and the dominant level.
13. The wireless device of claim 12 wherein the at least two additional memory bits are used to restore the code in a read operation of the memory region.
14. A method of using a nonvolatile memory comprising:
characterizing threshold voltage Vt encodings for a data pattern associated with a memory region;
choosing a dominant threshold voltage for the memory region;
mapping an erase threshold voltage as a substitute for the dominant threshold voltage; and
programming the data pattern in the nonvolatile memory using the erase threshold voltage substituted for the dominant threshold voltage.
15. The method of claim 14 further including storing information in the memory region that indicates mapping the erase threshold voltage as the substitute for the dominant threshold voltage.
16. The method of claim 15 further including mapping each threshold voltage to minimize programming times.
17. The method of claim 16 further including reading the data pattern stored in the memory region using the information that indicates mapping each threshold voltage.
18. A wireless device comprising:
a processor; and
a nonvolatile memory having a memory bit swap encoder to characterize code received from the processor to determine a prominent level associated with programming the code in a region of the nonvolatile memory, wherein the memory bit swap encoder substitutes a swapped level having a programming time that is less than a programming time associated with the prominent level.
19. The wireless device of claim 18 further including storing information in the memory region that describes a mapping of the main level with the swapped level.
20. The wireless device of claim 18 wherein the memory bit swap encoder substitutes the swapped level with the dominant level to reduce programming current.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A system that facilitates object-relational mapping comprising the following computer-executable components:
a storage-specific provider component that exposes a common schema over a store schema of a data store according to a common data model;
a mapping provider component that exposes a rich schema over the storage-specific provider component in accordance with a rich data model;
a services component that operates in terms of the rich data model; and
an object mapping component that provides object services over the rich schema.
2. The system of claim 1, the storage-specific provider component, the mapping provider component, and the services component operate at a value layer.
3. The system of claim 1, the mapping provider component exposes an application programming interface (API) that conforms to an API exposed by the storage-specific provider component.
4. The system of claim 1, the rich data model includes an entity, the entity is at least one of an entity with strong identity, an entity with inheritance, an entity with complex types, and an entity with relationships.
5. The system of claim 1, the services component includes a common component that compensates for a command operator not supported by the data store.
6. The system of claim 5, the command operator facilitates a representation of nested results.
7. The system of claim 1, the services component includes a cache.
8. The system of claim 7, the cache is employed for at least one of identity management and change tracking.
9. The system of claim 1, the object services includes at least one of object materialization, a typed query, and data aggregation.
10. The system of claim 1, the object services employ an API that is comparable to an API of the storage-specific provider component.
11. The system of claim 1, further comprising a common metadata service component that describes the rich data model and supports services that require metadata.
12. The system of claim 1, the storage-specific provider component is extended to support a common command representation.
13. The system of claim 12, the common command representation is a canonical command tree.
14. The system of claim 1, the storage-specific provider component is extended to compensate for a command operator not supported by the data store.
15. The system of claim 14, the command operator facilitates a representation of nested results.
16. The system of claim 1, the object mapping component receives mapping information by reflecting on properties of the type being materialized.
17. The system of claim 1, the mapping component gets mapping information from an object mapping loaded from one of a file or a data store.
18. A computer implemented method for incrementally extending a data provider, comprising the following computer executable acts:
exposing a common schema over a store schema of a data store in accordance with a common data model;
mapping the common schema to a rich schema in accordance with a rich data model that operates at a value layer;
providing entity services that function in terms of the rich data model; and
providing object services that operate on top of the rich schema.
19. The method of claim 18, further comprising:
exposing an API that is analogous to an API exposed by the common data model;
extending a storage-specific provider to support a common command representation; and
compensating for a command operator that is not supported by the data store.
20. A computer executable system that provides object-relational mapping and incrementally extends a data provider, comprising:
computer implemented means for extending a storage-specific data provider to support a common command representation;
computer implemented means for mapping a storage-specific data model to a rich data model that is defined at the value layer;
computer implemented means for providing entity services that conform to the rich data model; and
computer implemented means for providing object services built over the rich data model.