Patent ID: 8818967

Claim:
A method for compressing an identifier of a program code element in a portable data carrier, the method comprising the steps: typing the identifier in the portable data carrier, wherein the identifier is at least of a first identifier type and a second identifier type; type-dependently applying a compression function at least to parts of the identifier and obtaining a compressed identifier, wherein a first compression function is applied to the first identifier type, wherein a second compression function is applied to the second identifier type, wherein a degree of compression of the first compression function is higher than a degree of compression of the second compression function, and wherein the step of applying the compression is effected in the portable data carrier; and storing the compressed identifier in a memory area of the portable data carrier, wherein the compressed identifier is configured to be called for executing the program code elements, wherein at least for a part of the identifier of the first identifier type, a lossy compression function is applied, for the second identifier type, a lossless compression function is applied, and the first identifier type comprises at least Application Programming Interface (API) functions (API) or a subset of the Application Programming Interface (API) functions.